Bug 1304447

Summary: [GSS](6.2.z) Not able to select specific branch from repository
Product: [Retired] JBoss BRMS Platform 6 Reporter: Radovan Synek <rsynek>
Component: Business CentralAssignee: Toni Rikkola <trikkola>
Status: CLOSED EOL QA Contact: Jiri Locker <jlocker>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: abhumbe, alazarot, etirelli, kverlaen, lpetrovi, rrajasek, tdavid, trikkola
Target Milestone: CR1   
Target Release: 6.2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1299633 Environment:
Last Closed: 2020-03-27 20:02:28 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:
Embargoed:
Bug Depends On: 1217006, 1299633    
Bug Blocks: 1218511, 1309326, 1309327, 1313094, 1313095, 1313096, 1313097    

Comment 2 Kris Verlaenen 2016-02-23 13:48:18 UTC
To clarify, this BZ is to fix the remaining issue that wasn't fixed yet in 6.2.1, more specifically:

"We only remember the last set branch. Meaning if you have two repositories, you set A to branch RELEASE and B to branch DEV. When you go back to Authoring it shows B repository in DEV branch and when you go back into Administration it B is in DEV, but A is in master ( or what ever branch is first in the list )."

"Currently the branch selector in Administration changes the branch for all the users. This can cause the screen that lists the repositories in the Administration perspective to be out of sync with the rest of the workbench."

Comment 3 Toni Rikkola 2016-02-23 15:26:38 UTC
The original BZ topic is just the tip of the iceberg. 

My recent findings tell me that if any user changes the branch in Authoring perspective. The branch is changed for all users in Administration. 
To reproduce:
1. log in as two users A and B
2. have two branches (master and dev) in any repository
3. With both users go to Author and select master branch
4. With A select dev branch ( B does nothing )
5. With both users go to Administration perspective

Both users see dev branch.

Both users should see what ever branch is selected for each repository in the list of repositories. 

I'm not 100% sure what the fix will be. Going to investigate more and take a new look tomorrow.

Comment 5 Edson Tirelli 2016-02-29 22:19:26 UTC
As discussed by e-mail, the additional fixes will be committed as part of a separate BZ. Setting this ticket to MODIFIED as the originally reported problem is fixed.

Comment 6 Jan Hrcek 2016-03-08 06:44:58 UTC
Working fine now. Verified with BPM Suite 6.2.2 patch.

@tdavid Please take a look and make sure we have some basic functional test for switching branches in authoring. Thanks