Closed jw3 closed 9 months ago
This issue was weird because it only failed on some UI pages. Looking at the events code
events.py 91
if hasattr(self, '__events__'):
if name not in self.__events__:
raise EventsException("Event '%s' is not declared" % name)
So if the page had declared an __events__
list, the thing has to be in it, otherwise its happy to just introspect the properties of the object.
The logic looking at unsaved changes causes failure when navigating away from the profiler page.
main_window.py", line 180
ht: https://github.com/ctc-oss/fapolicy-analyzer/discussions/916#discussioncomment-7442237
921