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

Project config rebuild will restore deleted content #4100

Closed
Anubarak opened this issue Apr 5, 2019 · 1 comment
Closed

Project config rebuild will restore deleted content #4100

Anubarak opened this issue Apr 5, 2019 · 1 comment
Assignees

Comments

@Anubarak
Copy link
Contributor

Anubarak commented Apr 5, 2019

Description

When you run project-config/rebuild it will restore deleted content without it's dateDeleted value. While this won't do any harm in most cases it could do unexpected things in certain scenarios.

Steps to reproduce

  1. Create a field
  2. Delete a field
  3. Run project-config/rebuild
  4. Sync your config with live
  5. See your Field will be live and not on your local env

Additional info

  • Craft version: 3.1.21
@andris-sevcenko
Copy link
Contributor

Oooh, good catch!

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

2 participants