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

Trashing a container Content item without sub-items raises a JavaScript error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 1.4.0-rc1
    • Fix Version/s: QA tracked issues, 1.5.0, 1.4.1
    • 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 47
      Env: Prod

      Description

      This issue is a regression since 1.4.0-beta, since it doesn't happen on beta.

      Steps to Reproduce
      • Create one folder
      • Viewing the folder, activate your developer tools
      • Click on "Send to Trash" button

      The spinning wheel doesn't disappear and on dev tools one can see the error:

      TypeError: this.get(...).one(...) is null
      http://ezp60.dev.paulo/_ezcombo?/bundles/ezplatformui/js/extensions/ez-tabs.js&/tpl/handlebars/subitemboxview-ez-template.js&/bundles/ezplatformui/js/views/subitem/ez-subitembaseview.js&/bundles/ezplatformui/js/extensions/ez-loadmorepagination.js&/bundles/ezplatformui/js/views/subitem/ez-asynchronoussubitemview.js&/tpl/handlebars/subitemlistitemview-ez-template.js&/tpl/handlebars/subitemlistitem-name-ez-template.js&/tpl/handlebars/subitemlistitem-priority-ez-template.js&/bundles/ezplatformui/js/views/subitem/ez-subitemlistitemview.js&/tpl/handlebars/subitemlistmoreview-ez-template.js&/bundles/ezplatformui/js/views/subitem/ez-subitemlistmoreview.js&/tpl/handlebars/subitemgriditemview-ez-template.js&/bundles/ezplatformui/js/views/subitem/ez-subitemgriditemview.js&/tpl/handlebars/subitemgridview-ez-template.js&/bundles/ezplatformui/js/views/subitem/ez-subitemgridview.js&/bundles/ezplatformui/js/views/ez-subitemboxview.js&/tpl/handlebars/locationviewview-ez-template.js&/bundles/ezplatformui/js/views/ez-locationviewview.js
      Line 453
      

      Accessing through dev environment, I haven't had no extra information on logs.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: