Project

General

Profile

Actions

Task #1474

closed

EAV form: disable change of attribute's persistent type and confidential

Added by Radek Tomiška almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Radek Tomiška
Category:
Eav
Target version:
Start date:
01/28/2019
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Changing persistent type for eav attributes is not supported now (data migration is missing). Disable changing of attributes persistent type (FE, BE).

Actions #1

Updated by Radek Tomiška almost 6 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Radek Tomiška almost 6 years ago

  • Subject changed from EAV form: disable change of attribute's persistent type to EAV form: disable change of attribute's persistent type and confidential
  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Vít Švanda
  • Priority changed from Normal to High
  • % Done changed from 0 to 90

I've added processor for checking change of persistent type and confidential flag for form attributes. When attribute is used for some persisted value, then persistent type and confidential flag cannot be changed now.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/34bd7e4e1fa2e82787a454f70baab553fa3b0937

Doc:
https://wiki.czechidm.com/devel/documentation/application_configuration/dev/dynamic-forms

Note: It's implemented in processor => original attribute is available here (and can be turned of e.g. for development reasons)
Note: events were added for form attributes and definition.

Actions #3

Updated by Vít Švanda almost 6 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 90 to 100

I did review and works nice. We cannot change persistent type only if some value exist. This is very helpful feature.

Actions #4

Updated by Radek Tomiška almost 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF