Wicket
  1. Wicket
  2. WICKET-1319

StringResourceModel incorrectly escapes ' characters in choice formats

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-final
    • Fix Version/s: 1.3.2
    • Component/s: wicket
    • Labels:
      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}

      '}

      1. patch.txt
        2 kB
        Johan Compagner

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Meetesh Karia
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development