You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Yuesong Wang (JIRA)" <ji...@apache.org> on 2008/02/21 20:45:19 UTC

[jira] Created: (WICKET-1364) BaseWicketTester.isVisible() doesn't check Component.isRenderAllowed()

BaseWicketTester.isVisible() doesn't check Component.isRenderAllowed()
----------------------------------------------------------------------

                 Key: WICKET-1364
                 URL: https://issues.apache.org/jira/browse/WICKET-1364
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.1
            Reporter: Yuesong Wang
            Priority: Minor


BaseWicketTester.isVisible() only checks Component.isVisible(), not  Component.isRenderAllowed(). So for a component whose RENDER action is disabled through role based authorization strategy, BaseWicketTester.isVisible() still returns true. BaseWicketTester.isInvisible() works correctly by using BaseWicketTester.getComponentFromLastRenderedPage() which checks both Component.isVisible() and isRenderAllowed().


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-1364) BaseWicketTester.isVisible() doesn't check Component.isRenderAllowed()

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-1364.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.2
         Assignee: Igor Vaynberg

> BaseWicketTester.isVisible() doesn't check Component.isRenderAllowed()
> ----------------------------------------------------------------------
>
>                 Key: WICKET-1364
>                 URL: https://issues.apache.org/jira/browse/WICKET-1364
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.1
>            Reporter: Yuesong Wang
>            Assignee: Igor Vaynberg
>            Priority: Minor
>             Fix For: 1.3.2
>
>
> BaseWicketTester.isVisible() only checks Component.isVisible(), not  Component.isRenderAllowed(). So for a component whose RENDER action is disabled through role based authorization strategy, BaseWicketTester.isVisible() still returns true. BaseWicketTester.isInvisible() works correctly by using BaseWicketTester.getComponentFromLastRenderedPage() which checks both Component.isVisible() and isRenderAllowed().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.