Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

Restore deleted object does not work properly. #126

Open
matuu opened this issue Dec 26, 2016 · 1 comment
Open

Restore deleted object does not work properly. #126

matuu opened this issue Dec 26, 2016 · 1 comment

Comments

@matuu
Copy link

matuu commented Dec 26, 2016

I am attempt restoring a deleted object, and I have noticed that id is not equal to identity after to restoring. When I restore a related object, the relationship is not correct because id != identity.

Below, an example. This object with id = 1 was delete at 2016-12-15. When attempt restoring it, its id is not 1 again.
example

@brki
Copy link
Contributor

brki commented Feb 6, 2017

Thanks for the report.

Can you provide some code to allow reproducing this?

What database type are you using?

Have you specified a value for VERSIONS_USE_UUIDFIELD in your settings?

What version of Django are you using?

What version of CleanerVersion are you using?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants