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

eZP should return an exception if a user tries to read node 01

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: High High
    • Customer request
    • 5.4.9, 1.7.0
    • Platform stack
    • None

    Description

      If the user tries to read a pathstring pointing to node1, since that node is system reserved and should be acessible, eZP should return an exception like:

      throw new Exception( "Invalid node id. The node 1 is system reserved and can`t be loaded." )

      Steps to reproduce

      Try execute the code below in a situation where the pathstring is /1/:

      return new Subtree($this->locationService->loadLocation($locationId)->pathString);

      Please notice that there's a related documentation issue: EZP-26912

      Attachments

        Activity

          People

            Unassigned Unassigned
            eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: