Project

General

Profile

Actions

Defect #1590

closed

Roles attributes - wrong values displayed in the second page

Added by Alena Peterová over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Frontend
Target version:
Start date:
04/01/2019
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Affected version: 9.5

Situation:
2 roles have the same Definition of assigned attributes. 1st role uses 6 attributes, 2nd role uses the same 6 attributes plus 1 another.
Assign these roles to a user with different attributes' values.
Go to Directly assigned roles:
1) First page with the 1st role displays correct values:

2) Second page displays same values for the 2nd role as for the 1st role, but it's not right

3) Proof - the real values of the 2nd role are different:

There must be some wrong caching in frontend.


Files

first_page_role_with_same_attributes.png (21.3 KB) first_page_role_with_same_attributes.png Alena Peterová, 04/01/2019 02:37 PM
second_page_displayed.png (25.1 KB) second_page_displayed.png Alena Peterová, 04/01/2019 02:37 PM
real_values.png (27.7 KB) real_values.png Alena Peterová, 04/01/2019 02:37 PM
Actions #1

Updated by Alena Peterová over 5 years ago

Note: When you change "Number of records" to 100, so all assigned roles are on the same page, then the values are displayed correctly.

Actions #2

Updated by Vít Švanda over 5 years ago

  • Target version set to Pyrite (9.5.1)
Actions #3

Updated by Vít Švanda over 5 years ago

  • Status changed from New to In Progress
  • Assignee changed from Radek Tomiška to Vít Švanda
Actions #4

Updated by Vít Švanda over 5 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 0 to 90

Fixed.

  • Problem was in column with the form-attributes.
  • This column was not rerenered, when page was changed.
  • I added unique key to this column.

Commit: https://github.com/bcvsolutions/CzechIdMng/commit/0f9d90e465fe3c1145e77ca0f514bcbf18a34561

Actions #5

Updated by Radek Tomiška over 5 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 90 to 100

I did test and review, it works, thx!

Actions #6

Updated by Radek Tomiška over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF