-
Notifications
You must be signed in to change notification settings - Fork 0
Description
When deploying changes the prevalues in the dropdown doesnt get sent over. Instead they leave the content blank when it has been successfully been transferred over.
Umbraco version
I am seeing this issue on Umbraco version: 7.15.6
Deploy version: 2.1.1
Reproduction
If you're filing a bug, please describe how to reproduce it. Include as much
relevant information as possible, such as:
Bug summary
I have a live environment with a Dropdown data type in a content node. The value is set to "Test 1".
If I then go to my dev environment and I create (or edit) a prevalue in the Dropdown data type and deploy to live, the
Dropdown value that I had on my content node on live, "Test 1", is set to blank.
This happens both in nested and non-nested content.
Specifics
Using Chrome v 87.0.4280.88 for Windows
Using Umbraco version: 7.15.6
Using Deploy version: 2.1.1
Steps to reproduce
- Create a new project on Umbraco Cloud
- Add development environment
- Go to development environment and create some prevalues in the Dropdown editor under Developer -> Data Types -> Dropdown.
- Create two Document Types. The first one holds your content, where you add a Dropdown property and a Nested Content property. Remember to make this node allowed as Root under "Permissions".
The second one ("Person" in this case) is your Nested Content. Add a Dropdown property here as well. I also added "Person Name" and "Person Age" just for illustrative purposes.
- Create your test content. Remember to set a value in the Dropdown both for Nested and non Nested Content
-
Deploy and transfer content to your live env. Great, the content should be there together with the selected prevalue ("Test 1" and "Nested Prevalue 1" in this case) so it looks just like the image above.
-
Go to your dev environment and delete a prevalue in the Dropdown editor (I delete "Test 2" in this case) and save the changes. My prevalues on dev now look like this:
- Deploy your changes from dev to live.
- Your live environment should now have lost the prevalue in the Dropdowns so it looks like this:
This happens whether you remove, add or edit a prevalue.
Expected result
The prevalues should still be there unless they are actively changed on the dev environment and pushed to the live environment
Actual result
The prevalues are empty