Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-6276

Discarding changes when creating ContentType leads to invisible Content Type draft

    XMLWordPrintable

Details

    • Yes

    Description

      When the user presses the "Discard changes" button when creating a Content Type, it will be stored in the database, but won't be accessible from anywhere in the Admin UI, which may lead to unexpected behavior, like an impossibility to delete empty Content Type Group.

      Steps to reproduce
      1. Clean installation of eZ Platform 2.5.9
      2. Log in as admin to the backofice.
      3. Create Content Type Group Test Group.
      4. In Test Group click on "plus" button. In "Creating a new Content Type" view click on "Discard changes".
      5. Go back to Content Type Groups list and select Test Group. Click on the "trash" button to delete selected Content Type.

      Result

      Argument '$contentTypeGroup' is invalid: Content type group has content type instances
      

      Expected Result
      Content Type is deleted normally.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.bieniek@ibexa.co Mateusz Bieniek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: