Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-3172

Command to create container for Forms is broken

    XMLWordPrintable

    Details

      Description

      When you want to run

      php bin/console ezplatform:form-builder:create-forms-container --parent-location 42

      it ends with exception

      Argument 1 passed to eZ\Publish\Core\Repository\SiteAccessAware\LocationService::newLocationCreateStruct() must be of the type int, string given, called in /var/www/ven 
       dor/ezsystems/ezplatform-form-builder/src/bundle/Command/CreateFormsContainerCommand.php on line 190

      Also,

      execute()

      method must return status code. Otherwise command throw an exception

      Return value of "EzSystems\EzPlatformFormBuilderBundle\Command\CreateFormsContainerCommand::execute()" must be of the type int, "NULL" returned.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              mikolaj.adamczyk@ez.no MikoĊ‚aj Adamczyk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: