Details

      Description

      Currently the deletion system event are being controlled partially with the SystemEvent annotation and the SystemEventHierarchyEntryThreadLocal. As the asset entries are always reporting a deletion event as a side effect, we use hacking with the thread local to hide that event. In corner cases this is very difficult, and even sometimes not obviously possible.

      Also it's not straigtforward for developers what is the connection between the annotation and the thread local, the annotation provides a nice and clean declarative way, using the thread local can mess this clean API up.

      The SystemEvent annotation's send parameter is also misleading: even if the developer sets it to false the related asset entry will still report an event.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                evan.nagayama Evan Nagayama (Inactive)
                Reporter:
                mate.thurzo Mate Thurzo (Inactive)
                Recent user:
                Esther Sanz
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 33 weeks, 2 days ago

                  Packages

                  Version Package
                  7.0.0 M3