You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Ulrich Stärk (JIRA)" <ji...@apache.org> on 2010/03/22 15:19:27 UTC

[jira] Resolved: (TAP5-1054) Not able to pass an empty string as appName to PageTester

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

Ulrich Stärk resolved TAP5-1054.
--------------------------------

    Resolution: Fixed

> Not able to pass an empty string as appName to PageTester
> ---------------------------------------------------------
>
>                 Key: TAP5-1054
>                 URL: https://issues.apache.org/jira/browse/TAP5-1054
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2, 5.1.0.5
>            Reporter: Stephan Schwab
>            Assignee: Ulrich Stärk
>             Fix For: 5.1.0.8, 5.2.0
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> On http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/test/PageTester.html it states that one can pass in an empty string for appName to PageTester(appPackage, appName) or PageTester(appPackage, appName, contextPath, moduleClasses).
> Doing so causes an IllegalArgumentException:
> java.lang.IllegalArgumentException: Parameter appName was null or contained only whitespace.
> 	at org.apache.tapestry5.ioc.internal.util.Defense.notBlank(Defense.java:59)
> 	at org.apache.tapestry5.test.PageTester.<init>(PageTester.java:92)
> 	at org.apache.tapestry5.test.PageTester.<init>(PageTester.java:75)

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