[
https://issues.apache.org/jira/browse/TAPESTRY-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike D Pilsbury updated TAPESTRY-1315:
--------------------------------------
Summary: Context expression without period results in
StringIndexOutOfBoundsException (was: Context expression with period results
in StringIndexOutOfBoundsException)
> 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: IoC Container
> Affects Versions: 5.0
> Environment: Tapestry 5.0.2, Windows XP
> Reporter: Mike D Pilsbury
> Priority: Minor
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]