Architecture #11216
openVariable generation in multi instance technique
Description
We currently have no multi instance technique with mono and multi valued variables.
It should be possible and useful (for example to have a common parameter for a directive but not for the whole technique).
Currently, mono instance techniques can have mono and multi-valued variables.
This generates
- a string for the mono valued variables
- an array of the size of the trackingkey for the multi-valued variable
If we apply this on multi-instances techniques we get:
- an array of the size of the directive count (which cannot be matched with trackingkeys) for the mono valued variables
- an array of the size of the trackingkey for the multi-valued variable
I would like this to be;
- an array of the size of the trackingkey for the mono-valued variable
- an array of the size of the trackingkey for the multi-valued variable
This should be done only for multi-instance techniques, otherwise, we would break compatibility with existing mono-instance techniques.
Updated by Nicolas CHARLES about 7 years ago
- Name1
- File1
- File2
- File3
- Name2
- File3
- File4
And be able in the generated code to associate Name1 and File1, File2, File3
Workaround was to have Trackingkey on File variable, and get an unique extract (with bash) for the Trackingkey, and use to to match for Name variable. This is tedious and inefficient :(
- define that a monovalued variable has the same "size" as a multi-valued variable (so, well have 3 Name1 and 2 Name2)
- have an optionnal secondary trackingkey, on another variable
- ???
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.0~rc1 to 4.2.0~rc2
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.0~rc2 to 4.2.0
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.0 to 4.2.1
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.1 to 4.2.2
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.2 to 4.2.3
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 4.2.3 to 4.2.4
Updated by Benoît PECCATTE almost 7 years ago
- Target version changed from 4.2.4 to Ideas (not version specific)