| Summary: | [Regression] Drag and Drop source file gets deleted after drop in WPE | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Java Server Faces | Reporter: | Carlin Rogers <carlin.rogers> | ||||
| Component: | UI | Assignee: | Carlin Rogers <carlin.rogers> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | cbridgha, neil.hauge, raghunathan.srinivasan | ||||
| Version: | 3.3.1 | Flags: | raghunathan.srinivasan:
pmc_approved?
(david_williams) raghunathan.srinivasan: pmc_approved? (raghunathan.srinivasan) raghunathan.srinivasan: pmc_approved? (naci.dai) raghunathan.srinivasan: pmc_approved? (deboer) neil.hauge: pmc_approved+ raghunathan.srinivasan: pmc_approved? (kaloyan) raghunathan.srinivasan: pmc_approved? (cbridgha) raghunathan.srinivasan: review+ |
||||
| Target Milestone: | 3.3.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | PMC_approved | ||||||
| Attachments: |
|
||||||
|
Description
Carlin Rogers
Created attachment 202565 [details]
patch to change the event detail after drop
Here's the patch. The change is based on the javadoc recommendation and handles the event detail the same way the pagedesigner's ResouceDropTargetListener does. See the overriding code in ResouceDropTargetListener.setCurrentEvent() that is called by the drop() routine.
Correcting the version value - looks like rev 1.7 of DesignerSourceDropTargetListener is part of 3.3.1 only. I think this is important to get into 3.3.1 otherwise there's the potential loss of data by deleting a user file. * 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 stop-ship defect. Dnd of a resource from the Project Explorer results in the resource being deleted. This is a serious regression. * 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 testing in the adopter product where we have a reproducible use case. * Give a brief technical overview. Who has reviewed this fix? See description * What is the risk associated with this fix? low. The patch has been checked into HEAD. See rev. 1.8 of DesignerSourceDropTargetListener. Verified in WTP build M-3.3.1-20110906122954 |