Project

General

Profile

Task #1375

Agenda of codelists

Added by Vít Švanda 8 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
CodeList
Target version:
Start date:
11/15/2018
Due date:
% Done:

100%


Description

We need to create new agenda for managing of codelists.


Related issues

Related to CzechIdM - Task #1424: Codelist: support level, icon and description parameters New 12/14/2018
Related to CzechIdM - Task #1444: CodeList: support multi select New 01/15/2019

History

#1 Updated by Radek Tomiška 8 months ago

  • Status changed from New to In Progress

#2 Updated by Radek Tomiška 7 months ago

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

Code lists are implemented, supported features:
- code list agenda is available in application setting - code list and items can be defined
- code list item can have code, name (used in select box on FE) and extended attributes. Code is used as persisted value.
- code list with code 'environment' is used on role detail for environment attribute
- when code list or code list item is not found, then raw value (item's code) is shown => code list work as decorator only. When whole code list is deleted, then the only impact is raw codes will be rendered.
- code list can be used as extended attribute - new persistent type 'CODELIST' was added (single select is supported now) with appropriate renderer.

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

Doc:
https://wiki.czechidm.com/devel/documentation/application_configuration/dev/dynamic-forms#code_lists
https://wiki.czechidm.com/devel/documentation/security/dev/authorization#default_settings_of_permissions_for_a_code_list_admin

Could you do a feedback, please?

#3 Updated by Ondřej Kopr 7 months ago

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

Some minor things, you already made these fixes:

  • erdiagram - I added three new tables,
  • frontend problem with missing environment, you already solved this

Evaluator FormAttributteByCodeListEvaluator works well, but now only for create. Delete and update isn't possible. For now is this ok.

Defensive behavior with filled non existing code list is awesome, this system is unbreakable. Generating default values for eav code list works. Add code list manager as script enabled is also good idea. Mssql works!

It is about 5k new lines. I read all services and manager on backend and frontend check via gui. Everything works as I expect. Thanks for implementing this feature.

#4 Updated by Radek Tomiška 7 months ago

  • Status changed from Resolved to Closed

#5 Updated by Radek Tomiška 7 months ago

I've added automatic 'environment' code list initialization, when application starts up:
https://github.com/bcvsolutions/CzechIdMng/commit/ef1320a6f77e38150aa9492b162041130ee68a9f

#6 Updated by Radek Tomiška 7 months ago

  • Related to Task #1424: Codelist: support level, icon and description parameters added

#7 Updated by Radek Tomiška 6 months ago

  • Related to Task #1444: CodeList: support multi select added

Also available in: Atom PDF