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

TableView throws an error when Creator/Contributor is removed for any of the content items

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. Login as admin and create a "Parent" content
      2. Create a new user, and login with its credentials
      3. As a new user create "Parent" / "Child" content item
      4. Logout as new user and log in as admin
      5. Remove new user created on step #2
      6. Open "Parent" content item full view in admin UI
      7. No sub-items are shown, and the following error is displayed in browser console
      TypeError: Cannot read property 'name' of null
          at TableViewItemComponent.renderContributorCell (ezplatform-admin-ui-subitems-js.js:2180)
          at ezplatform-admin-ui-subitems-js.js:2242
          at Array.map (<anonymous>)
          at TableViewItemComponent.renderBasicColumns (ezplatform-admin-ui-subitems-js.js:2230)
          at TableViewItemComponent.render (ezplatform-admin-ui-subitems-js.js:2312)
          at ce (react-dom.production.min.js:98)
          at qg (react-dom.production.min.js:97)
          at hi (react-dom.production.min.js:104)
          at Qg (react-dom.production.min.js:144)
          at Rg (react-dom.production.min.js:145) 

      Attachments

        Activity

          People

            Unassigned Unassigned
            l0rdj l0rdj
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: