Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7929

Scrum find Total Backlog Item is not working in non-English language

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      The Find form for Product Backlog Item does not work in language other than English when no "statusId" or "custRequestTypeId" are selected.

      Step to reproduce :

      • Hit the search button, the find action is performed and return a non-empty list.
      • Set your language preference to a non english language (french for example).
      • Click again on the "Total Backlog" tab, and hit the "Rechercher" button.
      • No results are found.

      Where does the problem come from ?
      The results displayed are from a list named "backlogList" which is built in the following script : FindProductBacklogItem.groovy .
      In this script, there were a check on the parameter "custRequestTypeId" and on the parameter "statusId".
      But the value was hardcoded :

      if("Any".equals(parameters.custRequestTypeId))
      

      and

      if(!"Any".equals(parameters.statusId))
      

      Obviously, when the form is in another language than english, those conditions aren't valid anymore (for exemple, "Any" is "Dont" in French")

      Attachments

        1. OFBIZ-7929_15.12.patch
          10 kB
          Montalbano Florian
        2. OFBIZ-7929.patch
          8 kB
          Montalbano Florian
        3. OFBIZ-7929.patch
          9 kB
          Montalbano Florian
        4. OFBIZ-7929.patch
          3 kB
          Montalbano Florian
        5. OFBIZ-7929.patch
          3 kB
          Montalbano Florian

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jleroux Jacques Le Roux
            Florian M Montalbano Florian
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment