Skip to content

Dropdown prevalues are not applied when transfered from one env to another. #33

@HamDerAndrew

Description

@HamDerAndrew

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

  1. Create a new project on Umbraco Cloud
  2. Add development environment
  3. Go to development environment and create some prevalues in the Dropdown editor under Developer -> Data Types -> Dropdown.

Step 1 create pre values

  1. 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".

step 2 create document type with dropdown

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.

Step 2A create Person document type

  1. Create your test content. Remember to set a value in the Dropdown both for Nested and non Nested Content

Step 3 create dropdown content node

  1. 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.

  2. 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:

step 4 remove prevalue

  1. Deploy your changes from dev to live.
  2. Your live environment should now have lost the prevalue in the Dropdowns so it looks like this:

step 5 values are gone

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/staleMarked as stale due to inactivity

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions