Details
-
Story
-
Resolution: Won't Fix
-
High
-
5.0, 5.1, 5.2
-
None
Description
// Content root location $generator->startObjectElement( 'rootLocation', 'Location' ); $generator->startAttribute( 'href', $this->router->generate( 'ezpublish_rest_loadLocation', array( 'locationPath' => '1/2' ) ) ); $generator->endAttribute( 'href' ); $generator->endObjectElement( 'rootLocation' ); // Users root location $generator->startObjectElement( 'rootUserGroup', 'UserGroup' ); $generator->startAttribute( 'href', $this->router->generate( 'ezpublish_rest_loadUserGroup', array( 'groupPath' => '1/5' ) ) ); $generator->endAttribute( 'href' ); $generator->endObjectElement( 'rootUserGroup' ); // Media root location $generator->startObjectElement( 'rootMediaFolder', 'Location' ); $generator->startAttribute( 'href', $this->router->generate( 'ezpublish_rest_loadLocation', array( 'locationPath' => '1/43' ) ) ); $generator->endAttribute( 'href' ); $generator->endObjectElement( 'rootMediaFolder' );
Attachments
Issue Links
- is duplicated by
-
EZP-22460 hardcoded top-level location ids in root element of rest api
- Closed