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

UrlAttributes are encoded incorrectly when style is null but variation is not

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-M3
    • 1.5-RC1
    • wicket
    • None

    Description

      AbstractResourceReferenceMapper.encodeResourceReferenceAttributes() method generates the same "-foo" output for these two different inputs:

      {locale = null, style = "foo", variation = null}

      and

      {locale = null, style = null, variation = "foo"}

      .
      For the second input it should generate "--foo" (double dash prefix).

      Attachments

        1. WICKET-3297.patch
          2 kB
          Attila Király

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            akiraly Attila Király
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: