Uploaded image for project: 'Clowder'
  1. Clowder
  2. CATS-952

Empty tags are allowed and break the Ordered Tags page

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.6
    • None
    • None
    • None

    Description

      When there is an empty tag in the system this line throws a java.lang.StringIndexOutOfBoundsException: String index out of range: 0:

      https://opensource.ncsa.illinois.edu/bitbucket/projects/CATS/repos/clowder/browse/app/controllers/Tags.scala?at=refs%2Fheads%2Fmaster#143

      Was able to add empty tags from GUI by typing "tag, ". This adds two tags, one of which is empty. Need to check both GUI logic as well as API endpoint

      Gliffy Diagrams

        Attachments

          Activity

            People

              lmarini Luigi Marini
              lmarini Luigi Marini
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Tasks