Hello,
I noticed the following bug in the Plugin API.
How to reproduce:
- Create a component
CA
- Create a component
CB
with two variantsCB1
andCB2
- Create an instance
IB
ofCB
insideCA
- Create an instance
IA
ofCA
- Change the variant of
IB
insideIA
to point toCB2
Expected behavior:
- A
nodechange
event is triggered forIA -> IB
node withchangeProperties
containingcomponentProperties
- Reading
overrides
ofIA
should listIA -> IB
andcomponentProperties
as 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!