Project

General

Profile

Actions

Task #1017

closed

Configuration application - modify adding configuration properties

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

Status:
Closed
Priority:
Normal
Assignee:
Patrik Stloukal
Category:
Configuration
Target version:
Start date:
03/08/2018
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Modify adding configuration properties. When configuration property is existing (while adding new property), add warning message and add rewrite posibility.

Modify "Static environment configuration items" table - add button to edit this property and then edited property will be added to "Configurable items"

Actions #1

Updated by Patrik Stloukal about 6 years ago

  • % Done changed from 0 to 40

i added method _forceSave to Configurations.js. if save return 'duplicate' error (already existing property), popup window will be shown with message - if you want rewrite property "idm.pub...." with value "..." -and after confirm, updateEntity method will be called.

Actions #2

Updated by Patrik Stloukal about 6 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Patrik Stloukal about 6 years ago

  • % Done changed from 40 to 70

i added new edit button on items of "static table" in configuration, it is for adding this new item to first table (Configurable items), but modal window is now filled.
i was working on new add button and new modal window. it is for adding more configuration items, it is almost complete, i just have issue with flash message (errors), it is not shown right error.

Actions #4

Updated by Patrik Stloukal about 6 years ago

minor changes/edit

Actions #5

Updated by Patrik Stloukal about 6 years ago

  • Assignee changed from Patrik Stloukal to Radek Tomiška

i edited render state of tables, when 'add in bulk' button and modal window is shown, tables in backgound are hidden (like add button)
i was looking for issue, why error message (exception in backend) is not shown as message (in chrome). ResultCodeException is thrown, but in chrome console it says 'Uncaught (in promise) TypeError'. I think it is due to text/plain type of request.

commits:
https://github.com/bcvsolutions/CzechIdMng/commit/59642b03f7b767e1e9c2a1bd66c2aed06c9c11dc
https://github.com/bcvsolutions/CzechIdMng/commit/a269373404e3286ccd8af493c3dd831090633e99
https://github.com/bcvsolutions/CzechIdMng/commit/25165514bd86d84f4f26ee540be28c4ab81d563d

Could you please look into this ? I cannot figure it out.

Actions #6

Updated by Radek Tomiška almost 6 years ago

  • Status changed from In Progress to Closed
  • Assignee changed from Radek Tomiška to Patrik Stloukal
  • Target version set to Jade (8.1.0)
  • % Done changed from 70 to 100

I did test and review, this feature is awesome, good job, thx!

I fixed error message (as you mentioned) and merged it into develop.

Actions

Also available in: Atom PDF