| Summary: | [API] Third-party plug-in providing javax.servlet.jsp.el version 2.1 or greater breaks WPE preview | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Java Server Faces | Reporter: | Ian Trimble <ian.trimble> | ||||||
| Component: | UI | Assignee: | Ian Trimble <ian.trimble> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | david_williams, raghunathan.srinivasan, thatnitind | ||||||
| Version: | 3.2.1 | Flags: | 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: pmc_approved? (cbridgha) raghunathan.srinivasan: review+ |
||||||
| Target Milestone: | 3.3 M7 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | PMC_approved | ||||||||
| Attachments: |
|
||||||||
|
Description
Ian Trimble
See Bug 317133 for the patch. Bug 317133 is an Orbit issue, the patch there only modifies JSF Tools to circumvent the issue and does nothing to correct the Orbit issue. We need to use that patch to correct this issue. Created attachment 177271 [details]
Patch as attached to previously-mentioned Orbit bug; copied here for completeness.
The patch will break the WPE preview feature. We will work on a solution in the next release. Created attachment 190945 [details]
Patch removed dependency that causes issues
The patch provides an extension point that allows a third-party to plug in an EL resolver (such that it can be more advanced than the simple default we have always had), and provides a simple default resolver that does what the one-and-only built-in resolver always did. While performing the same function, the simple default resolver no longer has the dependency that causes issues when plug-ins not using javax.servlet.jsp and org.apache.commons.el as provided by the platform (such as Spring IDE plug-ins) are introduced.
Post-M6 exception. I've no idea if this is the right technical solution, but I know it needs to be solved, so I'm assuming you've gotten the right technical support/review you need and I'm marking as approved. And not sure if (directly) related, but it appears the versions of javax.servlet and javax.servlet.jsp will be incremented soon in Orbit, and I'd assume would be in some versions of our "stack". See bug 339966 and bug 339967. Just another case where our "IDE" needs to be independent of "runtime" levels. Thanks very much. Thanks, David. We needed to remove our dependency on the platform-provided (Orbit) EL library (and its dependencies, such as Apache Commons EL), since we are then easily broken by other products that choose to not use the same version of this library. (In our case, it was Spring IDE that brought a newer version with it and broke our preview functionality.) There is some discussion in bug 317133 (originally logged against the JSF Tools project, but reassigned to Orbit) with more specifics, but I don't think there's a core issue that can be fixed for all users in all cases. We can only manage our own "stack" - adopters and even end users are, of course, free to build their own. Fix submitted at 2011/03/16 10:26AM PDT. |