[LRA-347] The Collaborative dynamic data list application loses the users highlighted cells when other users select those cells Created: 06/Apr/20  Updated: 17/Apr/20  Resolved: 16/Apr/20

Status: Closed
Project: Liferay Apps
Component/s: Collaborative dynamic data list
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Jose Solano Assignee: Jose Solano
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 4.2h
Original Estimate: Not Specified
Environment: Liferay version: 7.2 (sp1)
OS: OS X 10.15.2
Browser: Chrome
Environment: local


 Description   
REPRODUCIBILITY LEVEL:
====================
Always

STEPS:
====================
1. Navigate to the Liferay Collaborative dynamic data list (with two different users)
2. With the first user > Click on a "X" cell (it gets highlighted).
3. With the second user > Click on the same "X" cell.
4. Still with the second user > Click on a new cell.

CURRENT RESULT:
====================
The first user loses his highlighted cell.

EXPECTED RESULT:
====================
The first user loses his highlighted cell.

 Comments   
Comment by Jose Solano [ 13/Apr/20 ]
BUG VERIFICATION
==================
OS: OS X 10.15.2
Browser: Chrome
Liferay version: 7.2 (sp1)
Environment: local
Resolution: Still able to reproduce
Comment by Jose Solano [ 14/Apr/20 ]
Still happening when there're more than two users.
Comment by Alejandro Soto [X] (Inactive) [ 15/Apr/20 ]
Fixed:

Now the first user does not lose highlight and has priority above other highlights, this way we don't over-complex the solution.
Comment by Jose Solano [ 15/Apr/20 ]
Now when several users click on the same cell, it will keep the first user highlight, but when that first user moves to a different cell or leave the page other users lose their highlighted item.
Comment by Alejandro Soto [X] (Inactive) [ 16/Apr/20 ]
Implemented a mechanism to keep track of users active on the same cell, pushed PR to github upstream
Comment by Jose Solano [ 17/Apr/20 ]
BUG VERIFICATION
==================
OS: OS X 10.15.2
Browser: Chrome
Liferay version: 7.2 (sp1)
Environment: local
Resolution: Fixed
Generated at Sat Feb 10 05:50:28 GMT 2024 using Jira 8.1.3#801003-sha1:6b6f07cffadda9a0d6efe24639daed8ce94dcdd6.