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

eZFind permanently throws errors, because of subtree limitations

    XMLWordPrintable

Details

    Description

      Regression from http://issues.ez.no/18549 #18549 : eZFind throws errors when the found result is in another Subtree than the searching user has Limitation to.

      Steps to reproduce

      1. Create a section *Restricted*
      2. Create simple content structure:

      - Subtree Public (section Standard)
      ---Article pleasefindme  (section Standard)
      
      - Subtree Restricted (section Restricted)
      

      3. Policies for test user:
      <cpde>
      user login SiteAccess( eng )
      content read Section( Standard )
      content read Subtree( Subtree Restricted )
      </code>

      When searching for "pleasefindme" error messages are like this one:

      [ Dec 29 2011 10:47:14 ] [127.0.0.1] eZSolr::getNodeID:
      Could not find valid/granted locations for content #71. Broken sync between eZPublish and Solr ?
      
      Location filter : Array
      (
      )
      Subtree limitations for user : Array
      (
          [0] => 62
      )
      
      [ Dec 29 2011 10:47:14 ] [127.0.0.1] eZSolr::getNodeID:
      Could not find valid/granted locations for content #71. Broken sync between eZPublish and Solr ?
      
      Location filter : Array
      (
      )
      Subtree limitations for user : Array
      (
          [0] => 62
      )
      

      The article should be found but errors appear in the debut output and in the error log.

      Attachments

        Activity

          People

            jv@ez.no jv@ez.no
            jv@ez.no jv@ez.no
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: