Project

General

Profile

Actions

Defect #1808

closed

Code list in role attributes breaks rendering of the roles table

Added by Vladimír Kotýnek over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Roles
Target version:
Start date:
08/21/2019
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

When I set a code list as an attribute of a role and try to assign the role to the user, the GUI keeps loading forever (until the browser says the tab is broken).
  1. Create a code list
  2. Add a new item to the form definition of role parameters. Select this code list as type of the attribute.
  3. Go to a role detail and add this attribute at the Roles Attibutes tab
  4. Find a user and go to it's role request
  5. Search for the role with the attribute and select it. Select a value of the attribute and confirm
  6. The modal dissapears and the roles table is loading... ...forever

In Firefox when I abort the loading, the page looks like this:

@affected version 9.7.3


Files

Snimek_z_2019-08-21_17-20-53.png (115 KB) Snimek_z_2019-08-21_17-20-53.png Vladimír Kotýnek, 08/21/2019 03:30 PM
concept-chrome.png (21.4 KB) concept-chrome.png Vít Švanda, 08/27/2019 11:16 AM
Actions #1

Updated by Radek Tomiška over 5 years ago

  • Status changed from New to Needs feedback
  • Assignee changed from Radek Tomiška to Vít Švanda
  • Target version set to Rhyolite (9.7.5)
  • % Done changed from 0 to 90

I added support for codelist into role attributes (it was not mentioned in documentation as confidential and attachment persistent type, so a leave this ticket as "defect" ...).

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/7230db2e75002d8160fd1ceadaba948e11905cd5

Could you do a feedback, please?

Actions #2

Updated by Vít Švanda over 5 years ago

  • File concept-chrome.png concept-chrome.png added
  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 90 to 100

I tested it. Works perfectly now. Thanks for that.

I discovered only one issue in Chrome, where codelist is a little ugly :-).

Actions #3

Updated by Radek Tomiška over 5 years ago

THx for feedback, i fixed select box styles, now is the same in Chrome too :)

Actions #4

Updated by Radek Tomiška over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF