ocis
ocis copied to clipboard
Activity: folder variable missing if folder renamed
Describe the bug
If I rename a folder, the activity events loose context, see screenshot.
Steps to reproduce
- Create a folder "test"
- Create a subfolder "subtest"
- Open the activities sidebar panel for "test"
Expected behavior
Old activity events still show the old folder name from before the rename
Actual behavior
The folder context is missing entirely (see screenshot)
It happens because the old ref.Path that we keep in the event is not relevant for getting the resource information after renaming. We can use the part of the path for that. But it will not work when the resource id has been used for renaming (MOVE) FYI @kobergj