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 -
        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 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: