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

eZ OE: JS error inserting embed-inline tag on empty XML block

    Details

      Description

      It is not possible to insert an embed-inline tag on an empty xml block, due to a Javascript error.

      After clicking the 'OK' button, the following can be observed (Chrome):

      Uncaught TypeError: Cannot read property 'nodeName' of null
      

      The eZ OE popup window also remains open.

        Issue Links

          Activity

          Hide
          Joao Inacio (Inactive) added a comment -

          Screenshot attached.

          Show
          Joao Inacio (Inactive) added a comment - Screenshot attached.
          Hide
          Damien Pobel (Inactive) added a comment -

          I'm not able to reproduce this issue in Firefox 21 nor in Chrome 27. Even if I can guess what is going wrong ? Can you precise which versions you were using ?

          Show
          Damien Pobel (Inactive) added a comment - I'm not able to reproduce this issue in Firefox 21 nor in Chrome 27. Even if I can guess what is going wrong ? Can you precise which versions you were using ?
          Hide
          Damien Pobel (Inactive) added a comment -

          OK, I get it. This bug is also in more recent releases than 5.0 but it's hidden in 5.1 / master because of a wrong use/API change of jQuery...

          Show
          Damien Pobel (Inactive) added a comment - OK, I get it. This bug is also in more recent releases than 5.0 but it's hidden in 5.1 / master because of a wrong use/API change of jQuery...
          Show
          Damien Pobel (Inactive) added a comment - Pull request: https://github.com/ezsystems/ezpublish-legacy/pull/649
          Show
          Damien Pobel (Inactive) added a comment - Fixed in ezpublish-legacy: master: http://github.com/ezsystems/ezpublish-legacy/commit/2c05f05621f604dbaa002b1b7e2c4750d759eaf7
          Hide
          Damien Pobel (Inactive) added a comment -
          Show
          Damien Pobel (Inactive) added a comment - Additional fix: Fixed in ezpublish-legacy: master: http://github.com/ezsystems/ezpublish-legacy/commit/efe20ea32f5d963ffef5223c0635aa192485981d

            People

            • Assignee:
              Unassigned
              Reporter:
              Joao Inacio (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              11 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 days, 5 hours, 30 minutes
                2d 5h 30m