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

Hardcoded Strings in DSQuery - ID: 2493794

    XMLWordPrintable

    Details

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

      Description

      org.dspace.search.DSQuery
      doQuery(Context c, QueryArgs args) contains hardcoded Strings:

      ...
      qr.setErrorMsg("Number format exception");
      }
      ...
      qr.setErrorMsg("Invalid search string");
      ...
      qr.setErrorMsg("Your query was too broad. Try a narrower query.");

      These strings are used in the webui and not i18n displayed to the end
      user.

        Attachments

          Activity

            People

            • Assignee:
              cjuergen Claudia Jürgen
              Reporter:
              kipkorir2008 Charles Kiplagat
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: