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

Do not use non-existing content types in ContentTypeIdentifier criterion

    XMLWordPrintable

Details

    Description

      ContentTypeIdentifier criterion tries to load the content type by identifier without ignoring non existing types. This crashes the search query if content type does not exist.

      This is especially important if developer does not have direct control over the types being passed to the query, e.g. when they are stored in an external system and content type might've been deleted in the meantime.

      Attachments

        Activity

          People

            Unassigned Unassigned
            f8f4635f-c125-4f25-94af-5c94e74ef8c1@accounts.ibexa.co Edi Modrić
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: