| Summary: | [JSF2.0] False warnings when EL validation is disabled | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Java Server Faces | Reporter: | Xiaonan Jiang <xiaonan_jiang> | ||||||
| Component: | JSF Tools | Assignee: | Cameron Bateman <cameron.bateman> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | carlin.rogers, david_williams, raghunathan.srinivasan, yurykats | ||||||
| Version: | unspecified | Flags: | david_williams:
pmc_approved+
raghunathan.srinivasan: pmc_approved? (naci.dai) deboer: pmc_approved+ raghunathan.srinivasan: pmc_approved? (neil.hauge) raghunathan.srinivasan: pmc_approved? (kaloyan) raghunathan.srinivasan: review+ |
||||||
| Target Milestone: | 3.2 RC3 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | PMC_approved | ||||||||
| Attachments: |
|
||||||||
|
Description
Xiaonan Jiang
For the first false warning ("MethodBinding attribute values must be EL expressions"), at least the method AttributeValidatingStrategy.checkIfELAndValidate() is wrong - it returns false for an EL expression when the EL validation is disabled.
Created attachment 168995 [details]
Tentative fix
Created attachment 169705 [details]
Change the return to an assignment so that the flow of control works as intended
* 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. The tool reports validation warnings in an EL even when such a validation is turned off in the preference page. * Is there a work-around? If so, why do you believe the work-around is insufficient? No workaround. * How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? Manual * Give a brief technical overview. Who has reviewed this fix? See comment 1 and 3. * What is the risk associated with this fix? low Patch committed to HEAD (3.2M3). |