arches icon indicating copy to clipboard operation
arches copied to clipboard

ActivityStream is out of order -- Updates can't be before Creates

Open azaroth42 opened this issue 2 years ago • 1 comments

For example:

Screenshot 2023-07-12 at 2 00 51 PM

The Update to 53de8bae cannot happen before it was Created. Updates can only be after Creates.

azaroth42 avatar Jul 12 '23 18:07 azaroth42

I think the fix is in app/models/resource.py by moving the self.save_edit() line in save() to before the tile.save() line ... so would become line 228.

However, a change for #9768 that meant no tile entries were generated during resource.save() would also fix the issue, as there wouldn't be updates to be in the wrong order :)

azaroth42 avatar Jul 18 '23 14:07 azaroth42