cobigen
cobigen copied to clipboard
Generation does not distinguish between same templates from different triggers
A collegue of mine defined different triggers with different matchers, which both could get activated by the same input. Furthermore, both triggers point to the same template folder and thus declare the same templates.
Intention behind the context declaration: He was interested to recover context variables from inputs in two different ways and thus choose the intended one to be generated in the UI. (e.g. by difference in destination path)
General observations: The CobiGen 'generate' dialog displays all available increments as duplicates. But the template instantiations are different, which can also be correctly observed by selecting the different bug equally named increments and comparing the simulated resources (with different destination paths).
Faulty behavior: When selecting only one of the duplciate increments, also all other duplicates will be generated no matter whether they have been selected or not.
Stale topic. Please negotiate closing or discussing the relevance of this ticket.