Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317756 - [JSF2.0] CompositeTagRegistryFactory caching causes major loss of service
Summary: [JSF2.0] CompositeTagRegistryFactory caching causes major loss of service
Status: RESOLVED FIXED
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.2.1   Edit
Assignee: Gerry Kessler CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-23 19:04 EDT by Cameron Bateman CLA
Modified: 2010-06-30 15:58 EDT (History)
1 user (show)

See Also:


Attachments
Removes the caching in CompositeTagRegistryFactory (3.68 KB, patch)
2010-06-23 19:05 EDT, Cameron Bateman CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron Bateman CLA 2010-06-23 19:04:00 EDT
The CompositeTagRegistryFactory caches the tag registry factories that declare their applicability to a project.  However, this fails to take into account the fact that applicability by change.

To reproduce:

1) Create a new dynamic web project *WITHOUT* a JSF facet.
2) Open the web page editor on a JSP page to load the tag registry for the project.
3) Add a JSF 2.0 facet to the project.
4) Create a new xhtml file with the Composition Page template.
5) Try to validate the page and use content assist in the "template" attribute of the composition tag.

Expected:

1) A warning should be flagged on the empty template attribute
2) Content assist should show a list of directories.

Actual:

Neither feature will work.
Comment 1 Cameron Bateman CLA 2010-06-23 19:05:35 EDT
Created attachment 172560 [details]
Removes the caching in CompositeTagRegistryFactory
Comment 2 Gerry Kessler CLA 2010-06-30 15:58:18 EDT
Checked in 6/30/10 to HEAD for 3.2.1