Wicket
  1. Wicket
  2. WICKET-1340

Bogus LocalizedImageResource#isStateless()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

          Marat Radchenko created issue -
          Marat Radchenko made changes -
          Field Original Value New Value
          Attachment ImageTest.java [ 12375313 ]
          Johan Compagner made changes -
          Resolution Invalid [ 6 ]
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Johan Compagner [ jcompagner ]
          Marat Radchenko made changes -
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Invalid [ 6 ]
          Marat Radchenko made changes -
          Attachment Image2Test.java [ 12375363 ]
          Marat Radchenko made changes -
          Attachment Image2Test.java [ 12375363 ]
          Marat Radchenko made changes -
          Attachment Image2Test.java [ 12375367 ]
          Johan Compagner made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Fix Version/s 1.3.2 [ 12312942 ]
          Marat Radchenko made changes -
          Link This issue is related to WICKET-2647 [ WICKET-2647 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development