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

Console error when viewing content after removing relation field from ContentType

    XMLWordPrintable

Details

    Description

      Browser console error occurs when viewing content after removing relation field from ContentType.

      Steps:

      1. Edit default Article ContentType
      2. Add Single Relation or Multiple Relation field. Save and publish ContentType.
      3. Create new Article. Set all required values and set relation to any allowed content.
      4. Publish article.
      5. Edit Article ContentType, remove Single Relation or Multiple Relation added previously.
      6. Save and publish ContentType.
      7. Go to Content, find your Article created in step 3 and load it in View mode.

      Issue: "Uncaught TypeError: Cannot read property 'names' of undefined" error occurs.

      Attachments

        Activity

          People

            Unassigned Unassigned
            michal.szoltysek@ibexa.co Michał Szołtysek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: