Project

General

Profile

Actions

Defect #1255

closed

Form Definitions - cannot set as main definition

Added by Patrik Stloukal over 6 years ago. Updated about 6 years ago.

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

100%

Estimated time:
Affected versions:
Owner:

Description

When i have 2 Form Definitions of IdmIdentity, first of them is set as main and I click on the second, select main definition and save.
It result with 'result returns more than one elements;' exception. I have to firstly unselect first form definition as main and then I can select the second as main.

(creating new form definiton with main as selected is working)

But it should at least throw some message like 'another definition is main'..


Files

formdefinition.png (25.9 KB) formdefinition.png Patrik Stloukal, 09/17/2018 10:58 AM
formDef2.png (29.2 KB) formDef2.png Patrik Stloukal, 09/17/2018 10:58 AM
Actions #1

Updated by Radek Tomiška over 6 years ago

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

I fixed check and update main definition flag, when definition was changed + test added.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/0e847fb393a6f0faa1a38aa5ab49f58865e2c760

Could you do a feedback pls?

Actions #2

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

Thank you. Boolean flag main for form definition works perfectly.

Actions #3

Updated by Radek Tomiška about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF