Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-23

DSQuery invalid check for empty query string - ID: 2343849

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.2
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1

      Description

      in org.dspace.search.DSQuery

      the check for empty query Strings
      static String checkEmptyQuery(String myquery)
      {
      if (myquery.equals(""))
      {
      myquery = "empty_query_string";
      }
      return myquery;
      }

      does not "catch" empty query strings as these are "()".

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            kipkorir2008 Charles Kiplagat
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: