Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1319

StringResourceModel incorrectly escapes ' characters in choice formats

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0-final
    • 1.3.2
    • wicket
    • None

    Description

      Here is a sample format that breaks when migrating from 1.2.6 to 1.3. We've currently worked around it by locating the string and using MessageFormat ourselves:

      foo.label={0,choice,-1#n/a|-1<'

      {1} {0,number,#,##0.00}

      '}

      Attachments

        1. patch.txt
          2 kB
          Johan Compagner

        Activity

          People

            Unassigned Unassigned
            tesh11 Meetesh Karia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: