Community
Participate
Working Groups
Build Identifier: When I launched the deployment assembly to add the folder, I found that once the folder has been added to the packaging structure, you can select the same folder to add again resulting in duplicate folders (see attachment). When the Deployment Assembly page is closed and reopened, only one folder exists. Users should be prevented from selecting the same folder (much like how it is for project selection). Reproducible: Always
Created attachment 201520 [details] Folder mapping entry duplicated
I propose to add a validation to the FolderMappingWizardFragment, see the attached image, attaching a patch for review
Created attachment 201521 [details] Folder Mapping Validation
Created attachment 201522 [details] Folder Mapping Validation Patch
approved
PMC REVIEW REQUESTED DUE TO UI CHANGE 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. *In the Deployment Assembly page you can select the same folder to add again resulting in duplicate folders. Is there a work-around? If so, why do you believe the work-around is insufficient? *There are not work-around since duplicated entries are allowed. How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? *It has been tested manually (UI) Give a brief technical overview. Who has reviewed this fix? *This fix adds a validation to the FolderMappingWizardFragment class, to check if the the selected folder is already included, if so, an error message will be shown in the top of the wizardfragment, see the attache image in comment 3 What is the risk associated with this fix? *Low
Code committed to R3_2_5 and HEAD for WTP 3.2.5, 3.3.1 and 3.4.