Hello,
I noticed the following bug in the Plugin API.
How to reproduce:
- Create a component
CA - Create a component
CBwith two variantsCB1andCB2 - Create an instance
IBofCBinsideCA - Create an instance
IAofCA - Change the variant of
IBinsideIAto point toCB2
Expected behavior:
- A
nodechangeevent is triggered forIA -> IBnode withchangePropertiescontainingcomponentProperties - Reading
overridesofIAshould listIA -> IBandcomponentPropertiesas being overridden
Actual behavior:
- Neither of the two occurs.
Due to this bug, it is impossible to know via the Plugin API whether an instance is overriding the variant of nested instances, and being notified when it happens.
I can provide more details and/or a working example if needed.
Thanks!
