-
Type:
Refactoring
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 5.2.1-B1
-
Fix Version/s: 5.3.0-B1
-
Component/s: Unit Configs
-
Labels:
-
Change Log Group:Changed
-
Change Log Message:Allow defining unit config contents in OOP format (using "kUnitConfig" class) in addition to existing array format. Replaced "kApplication::getUnitOption" and "kApplication::setUnitOption" methods with "kApplication::getUnitConfig" method.
-
Story Points:2
-
Copy Issue Key:
-
Patch Instructions:
-
BC Break Details:
One of key concepts used in In-Portal are Unit Configs.
They are large arrays, that hold all unit related configuration. Because of large setting count it's pretty hard to keep unit config as readable and clean as first time it was created.
Also some settings always defaults to same values and typing (copy/pasting) them each time also is a waste of time.
I'm proposing to create a class, that would represent a unit config with basic methods for setting entry and "dump" method, that will create resulting unit config file as we see now.
This way from one side we have all flexibility of OOP (object oriented programming) with IDE assisted auto-complete on unit config definition stage and, thanks to "dump" method, we don't have performance degradation because in fact only dumped (complied) unit configs will be used.
At the end compiled unit configs will be located under /system/cache folder.
- bc break fixed by
-
INP-1675 [bc fix] OOP unit config creation
-
- Scheduled
-
- blocks
-
MCUS-17 OOP unit config creation
-
- Resolved
-
-
MINB-36 OOP unit config creation
-
- Resolved
-
-
MINC-158 OOP unit config creation
-
- Resolved
-
-
MINL-27 OOP unit config creation
-
- Resolved
-
-
MINN-16 OOP unit config creation
-
- Resolved
-
- is duplicated by
-
INP-366 Converting "Unit Config" files from Arrays to Classes
-
- Closed
-
- parent of
-
INP-1244 Move parsing/validation code from "kUnitConfigReader" to "kUnitConfig" class
-
- Resolved
-
-
INP-1301 Make cloned unit config available during Url Processing
-
- Resolved
-
-
INP-1307 Don't autoload unit items, that don't have "TableName" specified
-
- Resolved
-
-
INP-1518 Remove excessive owner detection code from "cacheItemOwner" method
-
- Resolved
-
- relates to
-
INP-1243 Refactor "kTempTablesHandler" class
-
- Resolved
-
-
INP-1335 Add missing "$field_id" variable declaration to the "FormSubmissionHelper::getFieldByName" method
-
- Closed
-
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Wiki Page Loading...
-
Wiki Page Loading...