Defect #2110
closedRole request description was deleted when is role added into request
90%
Description
In some previous version of IdM was role request saved directly after user show role request. Now is role request saved after user added new role into request, or click on button save concept. This is great behavior. But when user add some description of role request and then added some role into request. The description disappear.
This state is very confusing for basic user.
Files
Related issues
Updated by Radek Tomiška almost 5 years ago
- Tracker changed from Feature to Defect
- Target version set to 10.2.0
Updated by Vít Švanda almost 5 years ago
- Status changed from New to In Progress
- Assignee changed from Radek Tomiška to Vít Švanda
Updated by Vít Švanda almost 5 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Vít Švanda to Radek Tomiška
- Target version changed from 10.2.0 to 10.0.2
- % Done changed from 0 to 90
Here isn't simple solution, because request (for delete, update, add identity-role) is not created by FE no more. It is created by BE and there isn't information about description (in delete of identity-role has BE only ID of identity-role).
I solved it, but I need to call load request and update it in separated requests.
This update is calling only if description is filled and request is new.
Beware, description is save on add/delete/update some identity-role only first time (after role-request is created).
https://github.com/bcvsolutions/CzechIdMng/commit/f8b54870bd4c96113b83b1fcacc6881221a80a56
Updated by Radek Tomiška over 4 years ago
- Related to Defect #2141: Strange behavior during submiting empty request added
Updated by Radek Tomiška over 4 years ago
- Status changed from Needs feedback to Closed
- Assignee changed from Radek Tomiška to Vít Švanda
I did test and code review. Description is saved, when role concept is added, thx!
Merged into 10.2.0 together with #2141.