Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314178 - Facelet ContentType ids are not plugin prefixed
Summary: Facelet ContentType ids are not plugin prefixed
Status: CLOSED WONTFIX
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: JSF Tools (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 RC4   Edit
Assignee: Cameron Bateman CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-24 20:10 EDT by Gerry Kessler CLA
Modified: 2010-06-01 12:37 EDT (History)
4 users (show)

See Also:
cameron.bateman: pmc_approved?
david_williams: pmc_approved-
raghunathan.srinivasan: pmc_approved? (naci.dai)
raghunathan.srinivasan: pmc_approved? (deboer)
raghunathan.srinivasan: pmc_approved? (neil.hauge)
raghunathan.srinivasan: pmc_approved? (kaloyan)
raghunathan.srinivasan: review+


Attachments
Fixes the content type id to the recommend type. (4.69 KB, text/plain)
2010-05-28 15:30 EDT, Cameron Bateman CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerry Kessler CLA 2010-05-24 20:10:29 EDT
The contentType id for facelet and facelet composite respectively are: jsf.facelet and jsf.facelet.composite.   All other contentType id's have the plugin that defines it as a prefix.   We should consider doing the same.

examples:
  org.eclipse.wst.xml.core.xmlsource
  org.eclipse.core.runtime.xml
  org.eclipse.emf.mapping.ecore2xml
Comment 1 Cameron Bateman CLA 2010-05-28 15:30:24 EDT
Created attachment 170421 [details]
Fixes the content type id to the recommend type.
Comment 2 Raghunathan Srinivasan CLA 2010-05-28 20:08:57 EDT
* Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug"
(requested by an adopter) please document it as such. 
This is a stop-ship bug since it blocks 314903 which has also been raised for PMC approval. The later can result in poor perfromace.
* Is there a work-around? If so, why do you believe the work-around is
insufficient? 
No reasonable workaround
* How has the fix been tested? Is there a test case attached to the bugzilla
record? Has a JUnit Test been added? 
Code review and manual testing.
* Give a brief technical overview. Who has reviewed this fix? 
See comment 1
* What is the risk associated with this fix?
low-medium
Comment 3 David Williams CLA 2010-05-28 23:29:16 EDT
I could be wrong, but pretty sure these ID string are essentially API. 

Clients pretty much have to use them? In code or plugin.xml files? As you can see by your own use of it bug 314903. 

I'd fear others have "extended" one of these ... or using it a plugin.xml file? And they'd be broken? Have these been released in previous versions of WTP? Even if not, seems too late to make a breaking change now. 

I _think_ there might be ways to define a new one equivalent to an old one, so you can deprecate the old one but leave it in place for a a few releases ... but, even if so, I don't think we should be making that kind of change right now, since it is not really to solve a problem ... just be follow convention? 

Please don't hesitate to correct me, or tell me if I've misunderstood.
Comment 4 Cameron Bateman CLA 2010-05-30 13:43:44 EDT
(In reply to comment #3)
> I could be wrong, but pretty sure these ID string are essentially API. 

These ids have never been available in a release before.  They were added in Helios as part of support for Facelets.  I want to change these to the "non-discouraged" format now precisely because they will be very hard to change post-Helios.  

We can release a notice to the wtp-jsf-dev mailing list to warn any Helios adopters.
Comment 5 David Williams CLA 2010-05-31 21:47:44 EDT
> These ids have never been available in a release before.  They were added in
> Helios as part of support for Facelets.  I want to change these to the
> "non-discouraged" format now precisely because they will be very hard to change
> post-Helios.  
> 

Thanks for clarifying these were not in previous releases, but the deadline for API freeze is M6 ... so after that, it is just about as hard to change API, as after the release, if we take that commitment seriously (which I think we all do). We do sometimes have exceptions to the API freeze, but as far as I recall, those are to fix bad problems, which I don't see in this case.
Comment 6 Raghunathan Srinivasan CLA 2010-06-01 11:20:51 EDT
PMC review feedback: API change not desirable at this stage. Withdrawing for this release. We will fix 314903  with the existing content type id.
Comment 7 Cameron Bateman CLA 2010-06-01 12:37:28 EDT
This