Bug 1018936

Summary: Manually added dependencies becomes duplicated on each Build&Deploy
Product: [Retired] JBoss BRMS Platform 6 Reporter: Roger Martínez <romartin>
Component: Business CentralAssignee: Neus Miras <nmirasch>
Status: CLOSED CURRENTRELEASE QA Contact: Zuzana Krejčová <zkrejcov>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.0CC: etirelli, lpetrovi, pzapataf
Target Milestone: ER5   
Target Release: 6.0.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:19:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
guvnor project dependencies duplication error none

Description Roger Martínez 2013-10-14 18:04:36 UTC
Created attachment 812161 [details]
guvnor project dependencies duplication error

Description of problem: In the project editor, you can add manually some project dependencies by choosing from the "Project Settings" dropdown the option "Dependencies". 

If you add an incorrect dependency (incorrect groupId, artifactId or version or all), and click on "Build&Deploy", the application ask you to save first. After saving, the build is not successfull as expected.

At this moment, close the project editor screen and reopen it. The dependency will be duplicated each times as the times user clicks on "Build&Deploy" button (produces save operation) .


Version-Release number of selected component (if applicable):
6.1.0-SNAPHOST (compilation of october 14)

How reproducible:


Steps to Reproduce:
1. Open project editor
2. Select the option "Dependencies" from the "Project Settings" dropdown.
3. Add an "incorrect" dependency manually by clicking on "Add" button.
4. Build&Deploy -> Produces save and build error (as expected)
5. Close project editor widget
6. Reopen project editor widget
7. Select the option "Dependencies" from the "Project Settings" dropdown.
8. The dependency added on step (3) is duplicated.

Optional steps:

9. Repeat the process X times. The dependency will be added into the list X times too.

Actual results: Duplicated dependencies.


Expected results: No duplication of dependencies.


Additional info:  I have added a screenshot. This screenshot is done when performing step to reproduce #8 (After a unsuccessfull build)

Comment 2 Neus Miras 2013-10-17 15:28:05 UTC
It can't be reproduce. 
The project editor save functionality has been reviewed and now this behavior does not occur.

Comment 3 Zuzana Krejčová 2013-12-18 14:58:24 UTC
Verified with ER5.