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

Hidden objects not found in admin interface

    Details

      Description

      Using eZ Find you can not find hidden objects in admin interface.

      In the site.ini.append.php of eZ Find is the following line:

      SearchViewHandling=template
      

      Setting //*SearchViewHandling// to //default*// we will be able to find for hidden objects in the backend.

      The other way of making it work is using //*SearchViewHandling=template// and create an override of the //extension/ezfind/design/admin2/templates/content/search.tpl// template, adding the //ignore_visibility*// parameter to the fetch. Example:

      {set search=fetch(content,search,
                            hash(text,$search_text,
                                 section_id,$search_section_id,
                                 subtree_array,$search_subtree_array,
                                 sort_by,array('modified',false()),
                                 offset,$view_parameters.offset,
                                 ignore_visibility,true(),
                                 limit,$page_limit))}
      

      This only seems to be affecting eZ Find's search, and not the standard search engine.
      If we disable ezfind and then update the search index running //*php bin/php/updatesearchindex.php --clean// and setting //SearchViewHandling=template// we are still able to find hidden objects in the backend, even if we aren't using the //ignore_visibility*// parameter in our fetch on the template (design/admin2/templates/content/search.tpl).

      Steps to reproduce
      1. Log into the administration backend;
      2. Create an object;
      3. Set it to hidden;
      4. Update solr search index;
      5. Search for your hidden object.

        Activity

        Ricardo Correia created issue -
        Show
        Paul Borgermans added a comment - - edited Fixed in master: https://github.com/ezsystems/ezfind/commit/f986c785d3db1c6396cceea43e27740cf9e384b4 stable-2.7: https://github.com/ezsystems/ezfind/commit/4aa932e47a6b9f8b9cda5a2a2781f06702421baa stable-2.6: https://github.com/ezsystems/ezfind/commit/2dcbfe8fd0551e9efa27c68b27042e1142484db6 stable-2.5: https://github.com/ezsystems/ezfind/commit/6979f9cc9b52fe1c7e9931f958a446a53681e31b stable-2.4: https://github.com/ezsystems/ezfind/commit/226e96b81af9ee9a68f94d90f8e997754c62e78c And corresponding kernel patch https://github.com/ezsystems/ezpublish/commit/c2e35c57ed9efc3e3212c59c9e3911196dbb8ff4
        Hide
        Paul Borgermans added a comment -

        See previous comment with the github commits

        Show
        Paul Borgermans added a comment - See previous comment with the github commits
        André Rømcke made changes -
        Field Original Value New Value
        Workflow eZ Community Workflow [ 32724 ] eZ Engineering Scrumban Workflow [ 47972 ]
        Yannick Roger (Inactive) made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Assignee Paul Borgermans [ paulb ] Yannick Roger [ yannick.roger@ez.no ]
        Yannick Roger (Inactive) made changes -
        Affects Version/s 4.7.0 [ 11010 ]
        Affects Version/s 4.5.0 [ 11000 ]
        Yannick Roger (Inactive) made changes -
        Fix Version/s 4.4 Maintenance [ 12586 ]
        Yannick Roger (Inactive) made changes -
        Fix Version/s 4.5 Maintenance [ 12585 ]
        Fix Version/s 4.6 Maintenance [ 12584 ]
        Fix Version/s 4.7 Maintenance [ 12583 ]
        Fix Version/s 5.0 [ 10300 ]
        Yannick Roger (Inactive) made changes -
        Assignee Yannick Roger [ yannick.roger@ez.no ]
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Bertrand Dunogier made changes -
        Component/s Extensions/eZ Find/Searching [ 10767 ]
        Bertrand Dunogier made changes -
        Component/s Extensions/eZ Find/eZ Publish extension [ 10765 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 47972 ] EZ* Development Workflow [ 82427 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 82427 ] EZEE Development Workflow [ 121007 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Closed Closed Reopened Reopened
        497d 15h 59m 1 yannick.roger@ez.no 17/Oct/13 11:51 AM
        Reopened Reopened Closed Closed
        1m 50s 1 yannick.roger@ez.no 17/Oct/13 11:53 AM

          People

          • Assignee:
            Unassigned
            Reporter:
            Ricardo Correia
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: