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

It's possible to create ContenTypeGroups without an identifier

    XMLWordPrintable

    Details

      Description

      Through public API if we create a new ContetTypeGroupCreateStruct with an identifier than remove the identifier and create it, it will be created.

      Code:

      $contentTypeGroupCreateStruct = $contentService->newContentTypeGroupCreateStruct( 'someidentifier' );
      $contentTypeGroupCreateStruct->identifier = "";
      $contentService->createContentTypeGroup( $contentTypeGroupCreateStruct );
      

      The code above won't raise any error.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              marcos.loureiro@ez.no Marcos Loureiro (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: