myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Andraschko (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (MYFACES-4132) Search expression doesn't work as expected when expression is id:keyword
Date Tue, 08 Aug 2017 16:27:00 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-4132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Andraschko resolved MYFACES-4132.
----------------------------------------
    Resolution: Fixed

> Search expression doesn't work as expected when expression is id:keyword
> ------------------------------------------------------------------------
>
>                 Key: MYFACES-4132
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4132
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.3.0-beta
>            Reporter: Eduardo Breijo
>             Fix For: 2.3.0
>
>         Attachments: ComponentSearchExpression.war, MYFACES-4132-unittest.patch
>
>
> When a component search is done using an expression of this type "id:keyword", the resolved
id is unexpected. 
> I have provided a test app:
> 1) Deploy the app on tomcat
> 2) Drive a request: http://localhost:8080/ComponentSearchExpression/index.xhtml
> 3) When you check this response message: "TEST resolveComponent with search expression
'form1:@parent' -> form1" we should expect that the expression "form1:@parent" resolves
to "body" and not "form1".
> 4) Another example in that same test: Check the page source and look for "Body Child(1)"
which is an outputLabel, the search expression used in the for attribute is "body:@child(1)"
and this should resolve to "form1" but instead it is resolving to "body"
> Tested this app using mojarra and it works as expected.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message