You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/07/16 01:11:11 UTC
[jira] Resolved: (TAPESTRY-402) cycle.getServiceParameters() has different behaivor since 3.0
[ http://issues.apache.org/jira/browse/TAPESTRY-402?page=all ]
Howard M. Lewis Ship resolved TAPESTRY-402:
-------------------------------------------
Resolution: Duplicate
> cycle.getServiceParameters() has different behaivor since 3.0
> -------------------------------------------------------------
>
> Key: TAPESTRY-402
> URL: http://issues.apache.org/jira/browse/TAPESTRY-402
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Reporter: Scott Walter
> Priority: Critical
>
> In a 3.0 I would check to see if a parameter was passed into a page with:
> if(cycle.getServiceParameters()==null) {
> } else {
> Integer id = (Integer) cycle.getServiceParameters()[0];
> }
> This is causing an IndexOutofBoundsException under 4.0 if I don't pass any parms to a page. Under 4.0, getServiceParameters() is NOT NULL with a array length of 0.
> May cause others confusion with migrations
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org