Uploaded image for project: 'ONE'
  1. ONE
  2. ONE-35028

Box Types - White spaces are not trimmed at the start and end of a Box Type name

    XMLWordPrintable

Details

    • No
    • Boxes
    • BigPicture, BigGantt
    • JIRA server, JIRA cloud
    • 5
    • 5
    • $i18n.getText("admin.common.words.hide")
      $i18n.getText("admin.common.words.show")
      var cfToHide1 = document.getElementById("rowForcustomfield_18501"); if(cfToHide1){cfToHide1.style.display="none";} var cfToHide2 = document.getElementById("rowForcustomfield_18502"); if(cfToHide2){cfToHide2.style.display="none";} var cfToHide3 = document.getElementById("rowForcustomfield_19700"); if(cfToHide3){cfToHide3.style.display="none";} var cfToHide4 = document.getElementById("rowForcustomfield_18400"); if(cfToHide4){cfToHide4.style.display="none";}
    • Sprint 2021/11, Sprint 2021/12
    • PI2021/4
    • 2 days, 18 hours, 15 minutes, 32 seconds
    • 45 minutes, 26 seconds
    • 18 minutes, 12 seconds
    • 2 days, 2 hours, 52 minutes, 32 seconds
    • 7 minutes, 21 seconds
    • 43 minutes, 27 seconds
    • 3 weeks, 1 hour, 37 minutes, 57 seconds

    Description

      Prerequisites:
      BigPicture Enterprise installed.

      Reproduction steps:

      1. Open Administration -> Box Types.
      2. Click on "Add new Box type".
      3. In the Box type name enter "   XXX   " (lit. triple white space, triple X, triple white space) 
      4. In the Box prefix enter anything, for example XXX.
      5. Click on Create.
      6. Refresh the page.
      7. Observe the list layout.
      8. Open the "XXX" Box type details page.

      Actual result:
      On the Box types list page, the newly created Box type is displayed as "XXX". It is displayed on the top of the list, even though it starts with an X.
      On the details page it can be seen with white spaces at the beginning and the end in Box type name field.

      Expected result:
      After saving, the white spaces are trimmed. On the Box types list page, the newly created Box type is displayed as "XXX" and it is displayed somwhere on the bottom of the list, accordingly to the alphabetical sorting. 
      On the details page, the name is displayed as "XXX" as well.

      Workaround:
      N/A

      Attachments

        Activity

          People

            dominik.kowalik Dominik Kowalik
            krzysztof.luczak Krzysztof Łuczak
            tomasz.jaskiewicz Tomasz Jaśkiewicz , jakub.zygmunt Jakub Zygmunt , pawel.guz Pawel Guz , martyna.turowska Martyna Turowska , system.gerrit Gerrit , dominik.kowalik Dominik Kowalik , szymon.kurdziel Szymon Kurdziel , krzysztof.luczak Krzysztof Łuczak , pawel.wasiak Paweł Wasiak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: