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

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

    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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Petar Spanja (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: