Skip to main content

Hello,


I noticed the following bug in the Plugin API.


How to reproduce:



  1. Create a component CA

  2. Create a component CB with two variants CB1 and CB2

  3. Create an instance IB of CB inside CA

  4. Create an instance IA of CA

  5. Change the variant of IB inside IA to point to CB2


Expected behavior:



  • A nodechange event is triggered for IA -> IB node with changeProperties containing componentProperties

  • Reading overrides of IA should list IA -> IB and componentProperties 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!

Be the first to reply!

Reply