[JAVASERVERFACES-2803] Detection of f:metadata in ValidateComponentNesting not working Created: 17/Mar/13  Updated: 08/Jan/14  Resolved: 08/Nov/13

Status: Closed
Project: javaserverfaces
Component/s: view handling
Affects Version/s: 2.2.0
Fix Version/s: 2.2.5

Type: Bug Priority: Major
Reporter: michael_kurz Assignee: Manfred Riem
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by GLASSFISH-20244 Strange error message on <f:viewAction> Closed

 Description   

In project stage Development ValidateComponentNesting is used to check if UIViewParameter and UIViewAction are nested within f:metadata. For this, a check is performed if the current component's id equals UIViewRoot.METADATA_FACET_NAME. This is not working correctly, as the metadata UIPanel component's id is null.

The result of this bug is an incorrect warning message "The metadata component needs to be nested within a f:metadata tag." (the application works as expected).



 Comments   
Comment by Manfred Riem [ 08/Nov/13 ]

Verified against 2.2.5 and not able to reproduce.

Generated at Tue Apr 25 07:14:03 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.