| Summary: | NPE thrown when a Static Web Project is renamed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Salvador Zalapa <zalapa> | ||||
| Component: | jst.j2ee | Assignee: | Salvador Zalapa <zalapa> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ccc, raghunathan.srinivasan, shr31223 | ||||
| Version: | unspecified | Flags: | zalapa:
pmc_approved?
(david_williams) raghunathan.srinivasan: pmc_approved+ zalapa: pmc_approved? (naci.dai) zalapa: pmc_approved? (deboer) zalapa: pmc_approved? (neil.hauge) zalapa: pmc_approved? (kaloyan) zalapa: pmc_approved? (cbridgha) cbridgha: review+ |
||||
| Target Milestone: | 3.2.5 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Salvador Zalapa
Created attachment 204700 [details]
Patch
The thing is that ProjectRenameOperation.updateProject()is considering that the Static Web project has a Model Provider when it does not. The patch add an extra validation. Can you make this a little more robust? How did the ProjectRenameOperation get registered for this project type in the first place? - I hate to keep adding project types to the exclusion list.. maybe this can be done better? approved, and after conversation - agreed making a more robust change in current release - bugzilla to be opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=360698 has been created to handle a more robust solution. *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.
- A NPE is thrown when a Static Web Project is renamed
*Is there a work-around? If so, why do you believe the work-around is insufficient?
- There is not a workaround, the exception is logged always.
*How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added?
- Manually
*Give a brief technical overview. Who has reviewed this fix?
- ProjectRenameOperation.updateProject() considers that the
Static Web project has a Model Provider when it does not. The patch adds an
extra validation.
*What is the risk associated with this fix?
-None
This was committed to R3_2_maintenance for WTP 3.2.5 on 10/12. Leaving it open to get this fix into next week's WTP 3.3.2 driver. Committed to R3_3_maintenance for WTP 3.3.2 |