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)" <de...@tapestry.apache.org> on 2008/01/20 23:12:34 UTC
[jira] Assigned: (TAPESTRY-1315) Context expression without period
results in StringIndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/TAPESTRY-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship reassigned TAPESTRY-1315:
----------------------------------------------
Assignee: Howard M. Lewis Ship
> Context expression without period results in StringIndexOutOfBoundsException
> ----------------------------------------------------------------------------
>
> Key: TAPESTRY-1315
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1315
> Project: Tapestry
> Issue Type: Bug
> Components: tapestry-ioc
> Affects Versions: 5.0
> Environment: Tapestry 5.0.2, Windows XP
> Reporter: Mike D Pilsbury
> Assignee: Howard M. Lewis Ship
> Priority: Minor
> Attachments: LocalizedNameGenerator.java, LocalizedNameGeneratorTest.java
>
>
> A context expression that does not include at least one period (for example "context:/blah") results in a StringIndexOutOfBoundsException.
> "String index out of range: -1"
> # java.lang.String.substring(String.java:1768)
> # org.apache.tapestry.ioc.internal.util.LocalizedNameGenerator.<init>(LocalizedNameGenerator.java:68)
> # org.apache.tapestry.ioc.internal.util.AbstractResource.forLocale(AbstractResource.java:101)
> # org.apache.tapestry.internal.services.AssetSourceImpl.findRelativeAsset(AssetSourceImpl.java:93)
> # org.apache.tapestry.internal.services.AssetSourceImpl.findAsset(AssetSourceImpl.java:87)
> # org.example.myapp.components.PageStyle.setup(PageStyle.java:30)
> .
> .
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org