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

Removing an embed content block from a rich text field raises a js error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: 1.4.1, 1.5.1
    • Fix Version/s: QA tracked issues
    • Labels:
    • Environment:

      Operating System: Debian 8
      PHP Version: 5.6.14-0+deb8u1
      Database and version: Mysql 5.5.46-0+deb8u1
      Browser (and version): Firefox 48
      Env: Prod

      Description

      Steps to Reproduce

      -Login into ezplatform as admin
      -Choose a content of type folder
      -In a richtext field, add an "embed" content and confirm
      -Open your browser developer tools
      -While choosing the embed content, send it to trach (click on the trash can icon)

      A JS error appears:

      TypeError: path is null
      http://ezp60.paulo/_ezcombo?/bundles/ezplatformui/js/alloyeditor/plugins/removeblock.js&/bundles/ezplatformui/js/alloyeditor/plugins/focusblock.js&/bundles/ezplatformui/js/alloyeditor/plugins/yui3.js&/bundles/ezplatformui/js/alloyeditor/toolbars/ezadd.js&/bundles/ezplatformui/js/alloyeditor/toolbars/config/link.js&/bundles/ezplatformui/js/alloyeditor/toolbars/config/text.js&/bundles/ezplatformui/js/alloyeditor/toolbars/config/table.js&/bundles/ezplatformui/js/alloyeditor/toolbars/config/block-base.js&/bundles/ezplatformui/js/alloyeditor/toolbars/config/heading.js&/bundles/ezplatformui/js/alloyeditor/toolbars/config/paragraph.js&/bundles/ezplatformui/js/alloyeditor/toolbars/config/embed.js&/bundles/ezplatformui/js/alloyeditor/toolbars/config/image.js&/bundles/ezplatformui/js/alloyeditor/buttons/heading.js&/bundles/ezplatformui/js/alloyeditor/buttons/paragraph.js&/bundles/ezplatformui/js/alloyeditor/buttons/list.js&/bundles/ezplatformui/js/alloyeditor/buttons/mixins/embeddiscovercontent.js
      Line 553
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              paulo.nunes-obsolete@ez.no Paulo Nunes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: