Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12736

Parameter substitution in JAX-RS validation messages is broken

    XMLWordPrintable

Details

    Description

      Validation messages are wrong: parameters are not substitued, some '

      {0}' are displayed instead.

      if the message template contains '''{0}

      ''' (3x apostrophes), the final message will look like ... '

      {0}'... , even if the arg was "foo"
      on the other hand, if the message template only contains ''{0}

      '' (2x apostrophes) with arg "foo", the final message will look like ... 'foo' ...

      Attachments

        Activity

          People

            xcoulon@redhat.com Xavier Coulon
            xcoulon@redhat.com Xavier Coulon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: