Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-827

Quick Search is not displayed when folding is activated

    Details

      Description

      I have a partition dc=example,dc=com
      In there I have ou=import
      And even deeper there is ou=users and ou=groups
      If I want to search a group via quicksearch and click on ou=groups and fill in cn=foo it finds nothing
      If I do the quicksearch from ou=import with subtree enabled, it finds objects
      But I only want to search underneath ou=groups

        Activity

        Nabil Sayegh created issue -
        Hide
        Emmanuel Lecharny added a comment -

        In fact, the GUI does not "remeber" the base DN when you do a quick search. It should...

        Show
        Emmanuel Lecharny added a comment - In fact, the GUI does not "remeber" the base DN when you do a quick search. It should...
        Hide
        Pierre-Arnaud Marcelot added a comment -

        Here the current implementation of the "Quick Search" menu item in the context:

        • without any existing quick search, it will create a new one with the Root DSE (empty string "") as base
        • when an existing quick search is found, it will reuse it.

        At the moment, it doesn't use the current entry selection in the Browser view.

        It might be more useful, indeed, to reuse this selection (in the case of a single entry - no search, no bookmark, etc.) in the quick search window.

        Show
        Pierre-Arnaud Marcelot added a comment - Here the current implementation of the "Quick Search" menu item in the context: without any existing quick search, it will create a new one with the Root DSE (empty string "") as base when an existing quick search is found, it will reuse it. At the moment, it doesn't use the current entry selection in the Browser view. It might be more useful, indeed, to reuse this selection (in the case of a single entry - no search, no bookmark, etc.) in the quick search window.
        Nabil Sayegh made changes -
        Field Original Value New Value
        Attachment apacheds-quicksearch-1.jpg [ 12541761 ]
        Hide
        Nabil Sayegh added a comment - - edited

        Ok, the real problem seems to be the folding.
        As long as the number of loaded items (click on ou=groups and hit F5) is less than the threshold for folding, the quick search works fine (with the selected base) and it's item appears inline. If however, there are too many items, and it is folding, the quick search item doesn't get displayed.

        Show
        Nabil Sayegh added a comment - - edited Ok, the real problem seems to be the folding. As long as the number of loaded items (click on ou=groups and hit F5) is less than the threshold for folding, the quick search works fine (with the selected base) and it's item appears inline. If however, there are too many items, and it is folding, the quick search item doesn't get displayed.
        Pierre-Arnaud Marcelot made changes -
        Description I have a partition dc=example,dc=com
        In there I have ou=import
        And even deeper there is ou=users and ou=groups
        If I want to search a group via quicksearch and click on ou=groups and fill in cn=foo it finds nothing
        If I do the quicksearch from ou=import with subtree enabled, it finds objects
        But I only want to search underneath ou=groups
        Further more, the first quicksearch after starting results in an empty resut, but I can see e.g. (5+) besides ou=groups (5 being the number of expected results)
        I have a partition dc=example,dc=com
        In there I have ou=import
        And even deeper there is ou=users and ou=groups
        If I want to search a group via quicksearch and click on ou=groups and fill in cn=foo it finds nothing
        If I do the quicksearch from ou=import with subtree enabled, it finds objects
        But I only want to search underneath ou=groups
        Pierre-Arnaud Marcelot made changes -
        Project Directory ApacheDS [ 12310260 ] Directory Studio [ 12310590 ]
        Key DIRSERVER-1745 DIRSTUDIO-827
        Affects Version/s 2.0.0-M3 [ 12319488 ]
        Affects Version/s 2.0.0-M2 [ 12319459 ]
        Affects Version/s 2.0.0-M1 [ 12319458 ]
        Affects Version/s 1.5.3 [ 12314458 ]
        Affects Version/s 1.5.3 [ 12312693 ]
        Affects Version/s 2.0.0-M7 [ 12320049 ]
        Pierre-Arnaud Marcelot made changes -
        Summary Quicksearch doesn't use the current element as base Quick Search is not displayed when folding is activated
        Assignee Pierre-Arnaud Marcelot [ pamarcelot ]
        Priority Major [ 3 ] Critical [ 2 ]
        Hide
        Pierre-Arnaud Marcelot added a comment -

        Indeed, great find.

        I had opened a separate issue on the usability idea:
        DIRSTUDIO-828 (The Quick Search context menu item could reuse the currently selected entry in the Browser view as search base).

        I'm working on a fix to this "folding" issue right now.

        Show
        Pierre-Arnaud Marcelot added a comment - Indeed, great find. I had opened a separate issue on the usability idea: DIRSTUDIO-828 (The Quick Search context menu item could reuse the currently selected entry in the Browser view as search base). I'm working on a fix to this "folding" issue right now.
        Hide
        Pierre-Arnaud Marcelot added a comment -
        Show
        Pierre-Arnaud Marcelot added a comment - Fixed at revision 1398777. http://svn.apache.org/viewvc?rev=1398777&view=rev
        Pierre-Arnaud Marcelot made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0.0-M4 [ 12320241 ]
        Fix Version/s 2.0.0 [ 12314306 ]
        Resolution Fixed [ 1 ]
        Pierre-Arnaud Marcelot made changes -
        Component/s studio-ldapbrowser [ 12311538 ]
        Pierre-Arnaud Marcelot made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        55d 23h 17m 1 Pierre-Arnaud Marcelot 16/Oct/12 14:17
        Resolved Resolved Closed Closed
        216d 23h 12m 1 Pierre-Arnaud Marcelot 21/May/13 13:29

          People

          • Assignee:
            Pierre-Arnaud Marcelot
            Reporter:
            Nabil Sayegh
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development