Unleashing strict leash removes TPLURE exception for owners
MinesweeperM opened this issue · 3 comments
What version of OpenCollar are you using? 8.2.3
What behavior did you expect? Owners can sent TP offers if exceptions are active, and ACCEPTTP restriction is applied.
What behavior did you see instead? Since TPLURE exception removing, during unleashing, TP offers from owner fails.
What steps does someone need to take to reproduce the problem?
- Activate "Strict" leash option.
- Activate STRAY restriction
- Leash
- Unleash
- Go to another sim and send TP offer (with owner rights)
This happens because the TPLURE exception is sent to RLVsys, and removed from RLVsys, while exceptions are set in RLVextension. RLVsys manages sources, which is intended to remove restrictions when a source is released only if there is no other source applying the restriction. In the case of an exception it sees no other source and therefore releases the exception, which is handled elsewhere.
The simple fix for this would be to have the leash script request a re-triggering of user exceptions when a user unleashes.
Also, this exception removing, when leash holder leaves region, while leashed, so it seems, now it useless even to add it, when grab leash.
Fixed in 8.,3