Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2240

Fix Search box error - quotes and spaces

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      1.5
    • Sprint:
      Spring 3 : 3 Feb to 14 Feb, Spring 3 : 17 Feb to 28 Feb, Spring 4 : 2 Mar to 13 Mar, Spring 5 : 16 Mar to 27 Mar, Spring 6 : 30 Mar to Apr 10

      Description

      Searching sometimes produces a server error if the search string contains one or more space characters and is enclosed in double quotes.

      To repeat:

      Go to App Store and search the following string, enclosed in double quotes:

      "hello world"

      What should happen is that the entire phrase "hello world" should be searched.

      Note that we allow spaces in categories, e.g., "histone modification" on the main App Store.

        Attachments

          Issue Links

            Activity

            Hide
            aloraine Ann Loraine added a comment -

            Deployed to https://dev-appstore-2.bioviz.org and ready for testing to be done.

            cc: Shamika Gajanan Kulkarni and Noor Zahara

            Show
            aloraine Ann Loraine added a comment - Deployed to https://dev-appstore-2.bioviz.org and ready for testing to be done. cc: Shamika Gajanan Kulkarni and Noor Zahara
            Hide
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment -

            Tested this ticket on https://dev-appstore-2.bioviz.org/. The search box is working fine.
            I tried entering search texts like 'Merge', ' "Merge" ', ' "Merge Annotation" ', ' "Tracks" ' (it is one of the categories), ' "tra*" ' (this returns anything that matches 'tra' in category, name, etc.), 'Testing' (again a category), etc.
            It is working fine in all of the above cases and returns the expected results displaying the correct apps.

            Prof. Ann Loraine Please let me know if any other condition needs to be checked.

            Show
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment - Tested this ticket on https://dev-appstore-2.bioviz.org/ . The search box is working fine. I tried entering search texts like 'Merge', ' "Merge" ', ' "Merge Annotation" ', ' "Tracks" ' (it is one of the categories), ' "tra*" ' (this returns anything that matches 'tra' in category, name, etc.), 'Testing' (again a category), etc. It is working fine in all of the above cases and returns the expected results displaying the correct apps. Prof. Ann Loraine Please let me know if any other condition needs to be checked.
            Hide
            aloraine Ann Loraine added a comment -

            Please also check for whether the search is also searching the App descriptions.
            Can you state what "etc" means above? (e.g., does it include all possible attributes of an app, including the description that gets updated via repository.xml bundled with the jar file?)

            Show
            aloraine Ann Loraine added a comment - Please also check for whether the search is also searching the App descriptions. Can you state what "etc" means above? (e.g., does it include all possible attributes of an app, including the description that gets updated via repository.xml bundled with the jar file?)
            Hide
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment -

            Yes Prof. Ann Loraine, it does include the App descriptions too. It includes categories, app descriptions and the name of the app. Sorry for not being clear about this before.

            Show
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment - Yes Prof. Ann Loraine , it does include the App descriptions too. It includes categories, app descriptions and the name of the app. Sorry for not being clear about this before.
            Hide
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment -

            I have successfully tested this ticket to search for matches in App name, Categories and App Description. Moving this ticket to closed.

            Show
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment - I have successfully tested this ticket to search for matches in App name, Categories and App Description. Moving this ticket to closed.

              People

              • Assignee:
                noor91zahara Noor Zahara
                Reporter:
                aloraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: