Open guruBry opened 1 year ago
That does sound like a bug, thanks for the elaborate reproducible. Would you be able to see if you can spot a fix for this? A pull request would be most welcome.
Think the data member active
denotes the state of the instance in the UI, but publish
should be considered as well.
It seems like the "publish" value on an instance doesn't behave correctly, with families
If you set the 'publish' key on an instance's data to False, it will show up in the context list as toggled off, which is expected. However if you manually enable it, then try to Validate, validation doesn't process on the newly-enabled instance.
But if you enable the "publish" key to True from the beginning, the Validate process will act on the instance.
If you toggle the instance to be enabled and click validate, nothing happens.
However, if you change
families = ['*']
in the instance plugin, then the validation plugin will run when you enable the instance manually. Somehow when the 'publish' value on an instance starts as False, the families parameter isn't matching anymore or something.