Actions
Task #467
closedEnhance application data init stage
Status:
Rejected
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Modularity
Target version:
-
Start date:
05/31/2017
Due date:
% Done:
0%
Estimated time:
Owner:
Description
Currently the initialization of application data is done in bulk in InitApplicationData etc.
The problem here is that both definitions and data are initialized in bulk, which makes separating app into modules quite a feat.
Imagine you have a module specific processor which requires an EAV for IdmIdentity. You initialize this EAV in module's InitMyModuleData.
InitApplicationData creates admin account before your InitMyModuleData is run, so the EAV is still missing, but the module specific processor is already enabled and fails, because it cannot find its EAV.
Idea: split init data to create definitions first and data itself afterwards
Related issues
Updated by Vít Švanda about 7 years ago
- Target version deleted (
Diamond (7.4.0))
Updated by Radek Tomiška about 5 years ago
- Related to Task #812: Create init application data added
Updated by Radek Tomiška about 5 years ago
- Status changed from New to Rejected
Will be solved together in #812.
Actions