Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22767

ezscript_require is not taken into account on modules

    Details

      Description

      This bug was found trying to get ezfind autocomplete to work on the new stack. It can be used as a scenario to reproduce the issue.

      • Install ezfind
      • On the demobundle search for content, on the search page an error message is displayed.

      TypeError: Y.eZ is undefined
      

      This is because the script is not loaded.

      {ezscript_require( array('ezjsc::yui3', 'ezajax_autocomplete.js') )}
      

        Issue Links

          Activity

          Show
          Yannick Roger (Inactive) added a comment - - edited PR on ezpublish-kernel: https://github.com/ezsystems/ezpublish-kernel/pull/833/ PR on DemoBundle: https://github.com/ezsystems/DemoBundle/pull/89 PR on ezfind : https://github.com/ezsystems/ezfind/pull/159
          Show
          Yannick Roger (Inactive) added a comment - - edited Fix in ezpublish-kernel: https://github.com/ezsystems/ezpublish-kernel/commit/2c010c4580eac15421f5acd38fc52517834250f4 Fix in ezfind master: https://github.com/ezsystems/ezfind/commit/0aab1c056fbaf8478886b4f0dab6496514eb8af7 Fix in DemoBundle master: https://github.com/ezsystems/DemoBundle/commit/10561defe3642b020c340d7d72e4b6f5cd850e6d
          Hide
          Pedro Resende (Inactive) added a comment -

          Tested and approved by Q.A.

          Show
          Pedro Resende (Inactive) added a comment - Tested and approved by Q.A.
          Hide
          Jérôme Vieilledent (Inactive) added a comment -

          Regression: EZP-23184

          Show
          Jérôme Vieilledent (Inactive) added a comment - Regression: EZP-23184

            People

            • Assignee:
              Unassigned
              Reporter:
              Yannick Roger (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h