You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "quurks (JIRA)" <ji...@apache.org> on 2014/09/16 22:59:34 UTC

[jira] [Updated] (TAP5-2386) UnknownActivationContextCheck breaks ActivationRequestParameter when used with PageActivationContext

     [ https://issues.apache.org/jira/browse/TAP5-2386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

quurks updated TAP5-2386:
-------------------------
    Description: 
{code}
@UnknownActivationContextCheck(false|true)
public class TestPage {
    @ActivationRequestParameter private String arp;
    @PageActivationContext private String pac;

    public String getMessage() {
        return String.format("ActivationRequestParameter: %s, PageActivationContext: %s", arp, pac);
    }
}
{code}
||Expected Result?||UnknownActivationContextCheck||URL||ActivationRequestParameter||PageActivationContext||
|yes|false|/test/Alpha?arp=Beta|Beta|Alpha|
|yes|true|/test?arp=Beta|Beta|null|
|*no*|true|/test/Alpha?arp=Beta|{color:red}null{color}|Alpha|



  was:
{code}
@UnknownActivationContextCheck(false|true)
public class TestPage {
    @ActivationRequestParameter private String arp;
    @PageActivationContext private String pac;

    public String getMessage() {
        return String.format("ActivationRequestParameter: %s, PageActivationContext: %s", arp, pac);
    }
}
{code}
||Expected||UnknownActivationContextCheck||URL||ActivationRequestParameter||PageActivationContext||
|yes|false|/test/Alpha?arp=Beta|Beta|Alpha|
|yes|true|/test?arp=Beta|Beta|null|
|*no*|true|/test/Alpha?arp=Beta|{color:red}null{color}|Alpha|




> UnknownActivationContextCheck breaks ActivationRequestParameter when used with PageActivationContext
> ----------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-2386
>                 URL: https://issues.apache.org/jira/browse/TAP5-2386
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: quurks
>
> {code}
> @UnknownActivationContextCheck(false|true)
> public class TestPage {
>     @ActivationRequestParameter private String arp;
>     @PageActivationContext private String pac;
>     public String getMessage() {
>         return String.format("ActivationRequestParameter: %s, PageActivationContext: %s", arp, pac);
>     }
> }
> {code}
> ||Expected Result?||UnknownActivationContextCheck||URL||ActivationRequestParameter||PageActivationContext||
> |yes|false|/test/Alpha?arp=Beta|Beta|Alpha|
> |yes|true|/test?arp=Beta|Beta|null|
> |*no*|true|/test/Alpha?arp=Beta|{color:red}null{color}|Alpha|



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)