[jbosstools-issues] [JBoss JIRA] (JBIDE-11916) Navigation rule from-view-id is not validated for non existing page URL
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Mon May 21 14:58:17 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-11916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694499#comment-12694499 ]
Viacheslav Kabanovich commented on JBIDE-11916:
-----------------------------------------------
This is not a regression. For attribute 'from-view-id', we have always checked only that it starts either with '*' or '/'. It is simple to make the same check as for 'to-view-id', when value starts with '/'. Alexey, do you think it may be safe now, or is it better to move it to 3.4?
> Navigation rule from-view-id is not validated for non existing page URL
> ------------------------------------------------------------------------
>
> Key: JBIDE-11916
> URL: https://issues.jboss.org/browse/JBIDE-11916
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: JSF
> Affects Versions: 3.3.0.Beta3
> Reporter: Vlado Pakan
> Assignee: Viacheslav Kabanovich
> Fix For: 3.3.0.CR1
>
> Attachments: navigationRuleValidation.png
>
>
> 1. Create JSF 1.2 Kickstart project.
> 2. Open faces-config.xml file
> 3. Change navigation rule <from-view-id> note to point to non existing page
> Error: There is no Warning displayed for this error
> Navigation rule for <to-view-id> is properly marked with Warning when navigating to non existing page
> !navigationRuleValidation.png!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list