XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • Future
    • 4.0.0
    • None
    • Operating System: Ubuntu
      PHP Version: 5.2.4
      Database and version: mysql 5.0.51
      Browser (and version): Firefox 3.0

    Description

      eZ Find didn't find an object If I use one policy with content/read and a limitation to a node AND a subtree (important is the "AND").
      In eZ Publish I have the correct rights. eZ Find makes it wrong. If I use one policy for a limitation to a node and a subtree, my query is:

      .....
      ( ( meta_main_node_id_si:43 OR meta_main_node_id_si:51 ) AND ( meta_path_si:210 OR meta_path_si:12588 OR meta_path_si:12596 )
      ....
      

      That means that my search result must be node_id 43 or node_id 51 within subtree 210 or 12588 or 12596. But both nodes are not in these subtrees. That's why I found no object with one of these subtrees.

      But in eZ Publish I can read objects in these subtree.

      If I change this one policy into 2 policies, eZ Find can find objects in these subtrees. In this case one policy has content/read with limitation to nodes. Another policy has content/read with limitation to subtrees. Now my query is:

      ...
      ( ( meta_path_si:210 OR meta_path_si:12588 OR meta_path_si:12596 )) OR ( ( meta_main_node_id_si:43 OR meta_main_node_id_si:51 ))
      ...
      

      Now both parts are joined with OR. That's correct. But

      Attachments

        Activity

          People

            pborgerm pborgerm
            3eaa9b9f-e9b8-4b9e-be6e-3c56f2303459@accounts.ibexa.co Daniel Jüdel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: