Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.2
    • Fix Version/s: 1.3.5
    • Component/s: wicket
    • Labels:
      None

      Description

      I add a component to its container when the page is initialized, BEFORE
      it is rendered and before page model finished to initialize.
      if log4j is configured to enable wicket debug, the container toString()
      is called.
      This method invokes isVisible() of the container.
      I have overridden isVisible(), to query the page model before deciding
      whether the component is actually visible.
      I assumed this method is called when the component is rendered, and by
      that time the model is completely initialized.
      However, since it was called before component rendering, my code failed
      and the page failed to be created.
      To sum up, toString() of Component should be safe.

        Activity

        Nili Adoram created issue -
        Alastair Maw made changes -
        Field Original Value New Value
        Fix Version/s 1.3.0-rc1 [ 12312513 ]
        Fix Version/s 1.2.7 [ 12312468 ]
        Alastair Maw made changes -
        Fix Version/s 1.3.0-rc1 [ 12312513 ]
        Fix Version/s 1.3.0-beta1 [ 12312501 ]
        Alastair Maw made changes -
        Fix Version/s 1.3.0-rc1 [ 12312513 ]
        Fix Version/s 1.3.0-beta1 [ 12312501 ]
        Fix Version/s 1.2.7 [ 12312468 ]
        Igor Vaynberg made changes -
        Assignee Juergen Donnerstag [ jdonnerstag ]
        Frank Bille Jensen made changes -
        Fix Version/s 1.3.0-rc2 [ 12312513 ]
        Fix Version/s 1.3.0-rc3 [ 12312886 ]
        Frank Bille Jensen made changes -
        Fix Version/s 1.3.0-rc3 [ 12312886 ]
        Fix Version/s 1.3.1 [ 12312500 ]
        Frank Bille Jensen made changes -
        Fix Version/s 1.3.2 [ 12312942 ]
        Fix Version/s 1.3.1 [ 12312500 ]
        Frank Bille Jensen made changes -
        Fix Version/s 1.3.3 [ 12313047 ]
        Fix Version/s 1.3.2 [ 12312942 ]
        Frank Bille Jensen made changes -
        Fix Version/s 1.3.4 [ 12313089 ]
        Fix Version/s 1.3.3 [ 12313047 ]
        Martijn Dashorst made changes -
        Fix Version/s 1.3.5 [ 12313175 ]
        Fix Version/s 1.3.4 [ 12313089 ]
        Igor Vaynberg made changes -
        Assignee Juergen Donnerstag [ jdonnerstag ] Igor Vaynberg [ ivaynberg ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Igor Vaynberg
            Reporter:
            Nili Adoram
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development