[
http://www.stripesframework.org/jira/browse/STS-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11559#action_11559
]
Frederic Daoud commented on STS-591:
------------------------------------
I was finally able to reproduce the problem. Indeed, paths that do not start
with a slash cause hard-to-decipher exceptions.
My question is, should paths in the name= attribute of the layout-render tag be
required to start with a slash? If so, should we check for that and throw an
exception with a clear message? If we do that, we'll break existing apps that
use paths that do not start with a slash. But, does the layout-render tag ever
work if the path doesn't start with a slash? I tried a simple test and it
didn't work.
> EmptyStack exception occurs when layout-render name doesn't start with a slash
> ------------------------------------------------------------------------------
>
> Key: STS-591
> URL: http://www.stripesframework.org/jira/browse/STS-591
> Project: Stripes
> Issue Type: Improvement
> Components: Tag Library
> Reporter: Aaron Porter
> Fix For: Release 1.5.1
>
>
> When a layout-render tag's name attribute doesn't start with a slash a
> StackEmpty exception occurs which gives no indication of the actual problem.
> If the name doesn't start with a slash the tag should throw an exception
> which clearly indicates the actual problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development