substanced icon indicating copy to clipboard operation
substanced copied to clipboard

Error Undo doesn't work properly if you change the properties of an object

Open jogilder opened this issue 9 years ago • 1 comments

If you modify the name for an object (eg document) on the properties tab there is an undo button. If you click on the undo button then you get a 404 error saying the resource cannot be found. The path looked for has the new 'name' for the object. When you look at the folder containing the object then the object hasn't been altered and is still there with the modified name. This happens for all content types.

jogilder avatar Feb 24 '16 12:02 jogilder

You can undo this transaction from the undo tab. The issue is that the wrong tid is passed to db.undo on line 62 of sdi/views/undo.py.

jogilder avatar Feb 24 '16 13:02 jogilder