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

ContentService::createContent() does not validate the type of $locationCreateStructs

    XMLWordPrintable

Details

    Description

      ContentService::createContent() does not validate the type of $locationCreateStructs argument. If for example passing an array of Locations by mistake, cryptic exception about existing remoteId will be thrown.

      Type of objects contained in $locationCreateStructs parameter needs to be explicitly validated.

      Attachments

        Activity

          People

            Unassigned Unassigned
            petar.spanja-obsolete@ez.no Petar Spanja (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: