[UIU-472] Error when manually editing permission sets Created: 17/Apr/18  Updated: 04/Sep/18  Resolved: 20/Apr/18

Status: Closed
Project: ui-users
Components: None
Affects versions: None
Fix versions: 2.13.0

Type: Bug Priority: P3
Reporter: Theodor Tolstoy (One-Group.se) Assignee: Michal Kuklis
Resolution: Done Votes: 0
Labels: regression, sprint36
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Sprint:

 Description   

Screen cast: https://www.screencast.com/t/k1Qu9cLCuNv
Steps to Reproduce:

  1. Log into http://folio-snapshot-stable.aws.indexdata.com/ as diku_admin
  2. Go to settings->users->permission sets
  3. click add
  4. give your permission set a name and a description. and add some persmissions.
  5. click Create permission set
  6. Edit your permission set
  7. Add some permission or change something else
  8. Click Save & Close

Expected Results: Permission set is successfully saved and you are returned to the previous screen

Actual Results: The following error message pops up:

Note: Adding a few persmissions the first time does not render the error. Only when editing.

ERROR: in module @folio/users, operation PUT on resource 'entries' failed, saying:

"errors": [
{
"message":
"Unrecognized field \"childOf\" (class org.folio.rest.jaxrs.model.PermissionUploadJson), not marked as ignorable (8 known properties: , \"visible\", \"subPermissions\", \"mutable\", \"tags\", \"permissionName\", \"id\", \"description\", \"displayName\"])\n at [Source: java.io.StringReader@2091cbf0; line: 1, column: 202] (through reference chain: org.folio.rest.jaxrs.model.PermissionUploadJson[\"childOf\"])",
"type": "1",
"code": "-1",
"parameters": [

{ "key": "", "value": "" }

]
}
]
}



 Comments   
Comment by Cate Boerema (Inactive) [ 18/Apr/18 ]

FYI Khalilah Gambrell

Generated at Thu Feb 08 23:11:37 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.