Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-2062

forms/ajax manifest.js miss include dojo.require("dojo.ns")

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.11, 2.2
    • None
    • Blocks: Ajax, Blocks: Forms
    • None
    • Patch available

    Description

      cocoon-ajax-impl and cocoon-forms-impl are missing a dojo.require("dojo.ns") statement at the beginning because they access dojo.registerNamespace() which comes from that package. (No patch for this, since it's a one-liner)

      Sidenote: A workaround by manually adding this require in a script or other js file before manifest.js are accessed does noes work when you have djConfig.debugAtAllCosts enabled, since then dojo parses the js files for dojo.require() with a regexp (to avoid eval and adding all js files as script elements to the browser so that they appear correctly in your favourite javascript debugger). A missing require in that file will get the dependency order wrong.

      Attachments

        Activity

          People

            grek Grzegorz Kossakowski
            alexander.klimetschek Alexander Klimetschek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: