Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support syncing from Github with soft-deleted content records #293

Open
gsidebo opened this issue May 28, 2021 · 4 comments
Open

Support syncing from Github with soft-deleted content records #293

gsidebo opened this issue May 28, 2021 · 4 comments

Comments

@gsidebo
Copy link
Contributor

gsidebo commented May 28, 2021

When we re-sync a website from Github to the database and there are soft-deleted WebsiteContent records for the website, those records should be un-deleted if they still exist as files in Github. Right now, our sync logic attempts to create them, which causes text_id conflicts.

This will be easier to implement and test when #292 merges.

@pdpinch
Copy link
Member

pdpinch commented Feb 8, 2022

@mbertrand is this still an issue?

@mbertrand
Copy link
Member

Yes, just tried it.

@pdpinch
Copy link
Member

pdpinch commented Feb 22, 2022

Do we only hit this issue when using the sync_backend_to_db management command?

@mbertrand
Copy link
Member

I think so

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

No branches or pull requests

3 participants