Lexpedite / blawx

A user-friendly web-based tool for Rules as Code.
MIT License
105 stars 9 forks source link

Scenario Editor Views Don't Forget Deleted Ontology Elements #401

Open Gauntlet173 opened 1 year ago

Gauntlet173 commented 1 year ago

Right now if you create a view that hides an object from the display for a rulebase, save that as the default view for a test, then delete the object from the codebase, then re-open the scenario editor and have the user recreate the same object, it will be blocked from the interface. What ought to happen is that there ought to be a check, at some point, to validate that everything in the view field actually exists in the ontology. That will probably require fixing the way we deal with ontology, to make it part of the model.