This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Canceling the PL dialog after DnD of a Web Service does not rollback properly | ||
---|---|---|---|
Product: | soa | Reporter: | Jiri Kopsa <jkopsa> |
Component: | BPEL | Assignee: | Vladimir Yaroslavskiy <yaroslavskiy> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | terrybraun |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 124234 |
Description
Jiri Kopsa
2006-09-11 16:00:12 UTC
I recommend we waive this for this release. We have other more important issues to focus on in my opinion. Use case for canceling the DnD should be fairly rare and the obvious workaround is for user to simply delete the new folder that was created by the DnD. This is not a difficult or obscure workaround. Automatically removing the files will requre a higher understanding of the pre DnD state than we currently have at our disposal. Recommend documentation contain note to effect that "The DnD of references ( wsdl file, or Web Service node) from one NetBeans project onto a BPEL Module diagram causes several effects to take place. These effects include the automated "retrieval" of the dragged source object's WSDL file(s). Cancelation of the DnD operation does not roll back the retrieval of these files(s). If these files are not needed by the project, simply delete these files manually from the project explore tab, as you would delete any other project resource." I have no problem with waiving of this bug. Just please, let's keep this open so we don't forget and can work on that later ... we can change its status to Later after it is waived I suppose. *** Issue 86114 has been marked as a duplicate of this issue. *** Added to NetBeans Enterprise Pack 5.5 Release Notes as follows: IDE does not roll back the retrieval of the WSDL files(s) after you cancel the PartnerLink dialog. Description: If you cancel the PartnerLink dialog that appears when you drag a WSDL file or a Web Service node from a NetBeans project onto a diagram, the IDE does not roll back the retrieval of the WSDL files(s). Workaround: If these files are not needed by the project, simply delete them manually from the Projects window, as you would delete any other project resource. (http://nbstaging.czech/community/releases/55/entpack_relnotes.html#84622) Orch Project has Folder Prtners and wsdl/xsd files Obsolete milestone, please reevaluate I'm not on the project anymore. Please reassign or close. Should consider as part of "swim lanes" feature in Sierra. Changed target milestone from Sierra to 6.1 in order to display correct info on NB 6.1 dashboard I believe, this problem comes from the fact, that we have 2 heavy-weight actions on one user gesture: 1. retrieving wsdl files to our project and 2. adding PL to diagram. 1st step is hard to rollback because it it involves copying a lot of files and some of them may override old versions. Rolling back such operations is impossible if we don't have support from filesystem level. Also there is another problem with this step: user is poorly informed about what goes on behind the scene - were dropped files actually copied or just linked and where we store them locally. The logical solution for me is to separate these 2 steps: First user should drag wsdl or EJB WS node and drop it on a folder inside current project. This will invoke retriever and user will see new wsdl and auxiliary files to appear in the folder where they were dropped. User will get a chance to go and take a look what kind of definitions are stored in retrieved files and what needs to be created to make these files usable in our bpel process. Then user can drag this wsdl from project folder to diagram. This will result in PL customizer dialog to appear and new PL created. Old gesture(dropping wsdls to diagram directly) will be interpreted as "create PL by adding reference", if wsdl was dragged across the project boundaries, we will use catalog and project dependencies to access it later. p.s. Doing so we also will fix 124234. I suggest to waive this beta, because fix is quiet complicate and affects other functions. Referenced resources are used instead of copy, so there is no retrieval to Partners folder. *** Issue 86114 has been marked as a duplicate of this issue. *** Fix Rejected - After draging the Web Service on to the swimlane, two things are current done: a) the PartnerLink editor is displayed for "Ok" or "Cancel". b) the WSDL is stored as a "Referenced Resource" in the new project. If the user clicks "Cancel", the Referenced Resource is not removed, and the project is not rolled back to its original state. [QA suspects that the Referenced Resource addition to the project should be added only after "Ok" at the PartnerLink editor.] Behaviour is correct: When user drag and drop a Web Service from EJB module on BPEL diagram, referenced resource to the service is created and only after that the PL dialog is shown. Adding of the referenced resource is the result of drop action and can't be rolled back. The referenced resource must be created before the PL dialog to be shown in the whole list of services. The PL dialog can't roll back the referenced resources. Since this issue will not be fixed and the explanation is acceptable, QA acknowledges and closes this ticket. |