Project

General

Profile

Actions

Defect #1276

closed

Cannot manually link account

Added by Alena Peterová about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Account managment
Target version:
Start date:
09/27/2018
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Version 8.1.7

After we manually create an account - "Accounts in system", this created account cannot be found afterwards with the "Internal server error". So this account can't be linked to any identity/role/...

Error in log:

org.springframework.dao.InvalidDataAccessApiUsageException: The given id must not be null!; nested exception is java.lang.IllegalArgumentException: The given id must not be null!


Related issues

Related to IdStory Identity Manager - Task #1247: Info components - optimize number of request to backendClosedRadek Tomiška09/10/2018

Actions
Actions #1

Updated by Alena Peterová about 6 years ago

  • Description updated (diff)
Actions #2

Updated by Radek Tomiška about 6 years ago

  • Related to Task #1247: Info components - optimize number of request to backend added
Actions #3

Updated by Alena Peterová about 6 years ago

Workaround - if we need to link account, we can do it by synchronization of one account (using custom filter).

Actions #4

Updated by Radek Tomiška about 6 years ago

  • Status changed from New to Needs feedback
  • Assignee changed from Radek Tomiška to Ondřej Kopr
  • Target version set to Moonstone (9.1.1)
  • % Done changed from 0 to 90

I overlooked accounts, which is not linked to an entity, when #1247 was implemented. I've added missing check for the filled entity id and type into accounts and audits.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/a67a03bca550af0aa8da78ee3b690c64b00b9ac5

Could you do a feedback, pls?

Actions #5

Updated by Ondřej Kopr about 6 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Ondřej Kopr to Radek Tomiška
  • % Done changed from 90 to 100

Thanks, broken record now works correctly. And it is possible create account without identity.

Actions #6

Updated by Radek Tomiška about 6 years ago

  • Status changed from Resolved to Closed
Actions #7

Updated by Alena Peterová almost 6 years ago

Note that the same exception occurs when an identity is manually deleted and the system has account protection. The account of the deleted identity stays in the "Accounts in system", but since the link to the identity doesn't exist, it can't be found in GUI.
If the identity is created again, the account will be again linked to it, but stays in the protection.

Actions

Also available in: Atom PDF