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

Bogus LocalizedImageResource#isStateless()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-final, 1.3.1
    • Fix Version/s: 1.3.2
    • Component/s: wicket
    • Labels:
      None

      Description

      Image without resource/resource reference should be stateless.

      Bug is located in LocalizedImageResource#isStateless(), which should read "return resourceReference == null;"

      Test case is attached.

        Attachments

        1. Image2Test.java
          0.5 kB
          Marat Radchenko
        2. ImageTest.java
          0.4 kB
          Marat Radchenko

          Issue Links

            Activity

              People

              • Assignee:
                jcompagner Johan Compagner
                Reporter:
                slonopotamus Marat Radchenko
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: