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

Unable to delete a default datatype #607

Closed
mdeslauriers-sigmund opened this issue Mar 21, 2024 · 0 comments
Closed

Unable to delete a default datatype #607

mdeslauriers-sigmund opened this issue Mar 21, 2024 · 0 comments

Comments

@mdeslauriers-sigmund
Copy link

Describe the bug
uSync cannot delete basic data-types shipped with umbraco.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new umbraco project 13.2.2
  2. Install usync 13.1.3
  3. Boot the website and create a fresh database in the wizard
  4. Login the backoffice
  5. Go to Settings => uSync dashboard
  6. Export everything
  7. Delete an existing datatype ie: "Approved Color".
  8. Confirm that \uSync\v9\DataTypes\ApprovedColor.config contains the instruction: <Empty Key="..." Alias="Approved Color" Change="Delete" />
  9. Stop the site
  10. Delete the database
  11. Remove the ConnectionStrings in appsettings.json
  12. Reboot the website and create a new database in the wizard
  13. Login the backoffice
  14. Go to Settings => DataTypes
  15. See that "Approved Color" is there (it should have been deleted
  16. Go to uSync dashboard and click "Report"
  17. See that "Approved Color" is listed twice in changes
  18. Try to run "import"
  19. See that "Approved Color" is not deleted

Expected behavior
The datatype should have been deleted

Screenshots
image

About your Site (please complete the following information):

  • Umbraco Version: 13.2.2
  • uSync Version: 13.1.3
  • Browser : Any

Additional context
Activating Debug in logs shows and executing the import action shows the following message :
image

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

1 participant