Bug 1018936 - Manually added dependencies becomes duplicated on each Build&Deploy
Summary: Manually added dependencies becomes duplicated on each Build&Deploy
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: All
OS: All
high
medium
Target Milestone: ER5
: 6.0.0
Assignee: Neus Miras
QA Contact: Zuzana Krejčová
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-14 18:04 UTC by Roger Martínez
Modified: 2014-08-06 20:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:19:58 UTC
Type: Bug


Attachments (Terms of Use)
guvnor project dependencies duplication error (23.41 KB, image/png)
2013-10-14 18:04 UTC, Roger Martínez
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.