Project

General

Profile

Actions

Task #1930

closed

Password policy page doesn't work properly

Added by Ondrej Husník over 4 years ago. Updated over 4 years ago.

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

100%

Estimated time:
Owner:

Description

Affected version 10.0.0-SNAPSHOT

Password policy page displays error message and doesn't open at all.

Full error message:
ENTITY_NOT_FOUND (404:86066920-2a4c-4fae-b0da-3500466730da)
Entity type [eu.bcvsolutions.idm.core.model.entity.IdmPasswordPolicy] with id [undefined] not found. (entityType:eu.bcvsolutions.idm.core.model.entity.IdmPasswordPolicy, entityId:undefined)


Files

PasswordPolicyError.png (118 KB) PasswordPolicyError.png Ondrej Husník, 11/11/2019 01:02 PM
Actions #1

Updated by Vít Švanda over 4 years ago

  • Status changed from New to In Progress
  • Target version set to 10.0.0
Actions #2

Updated by Vít Švanda over 4 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Vít Švanda to Ondrej Husník
  • % Done changed from 0 to 90

Problem was in routing. More specifically in computing of Route ID. Password policies use one route for lists of all policies with path "password-policies/" and second for detail with path "password-policies". Because I trimming a slashes the second route was skiped.
Generally is problem in definition of second route, when should be path "password-policies/:entityId" instead, but for back compatibility I modified computing of Route ID (added slash).

Commit: https://github.com/bcvsolutions/CzechIdMng/commit/3efa400e14902e41c79b3d42ca1ab47cdb131197

Thanks for finding this bug.

Actions #3

Updated by Ondrej Husník over 4 years ago

  • Status changed from Needs feedback to Resolved
  • % Done changed from 90 to 100
Actions #4

Updated by Ondrej Husník over 4 years ago

  • Assignee changed from Ondrej Husník to Vít Švanda
Actions #5

Updated by Vít Švanda over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF