umbraco / Umbraco-CMS

Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
https://umbraco.com
MIT License
4.45k stars 2.68k forks source link

Data type is not updated during package migration #14871

Closed yiscaGi closed 1 year ago

yiscaGi commented 1 year ago

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

10.5.1

Bug summary

When updating a datatype in a package, during package migration the datatype is not updated in the target Umbraco site.

Specifics

Updating most of the time means adding - like adding optional block to blocks list data type or adding option to radio button data type.

Steps to reproduce

  1. Create Data type of blocks List type
  2. Add optional blocks
  3. Create the package
  4. Install the package in the target site
  5. Create a new block (in original project)
  6. Add it to existing block list data type
  7. Update package
  8. Run package migration
  9. The block list data type in target site does not contain the new optional block

Expected result / actual result

Data type should be updated in target site when upgrading package. I think that there should be some built in option for that .. every package needs the option to change data types . the same as the option to update document types or every component in the package .

github-actions[bot] commented 1 year ago

Hi there @yiscaGi!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face:

kjac commented 1 year ago

Hi @yiscaGi,

Thank you for reaching out 😄

This is by design for package migrations as described here, and at this point there are currently no plans to change the design.

image

See also the previously report here (but I believe you already found that 👍).

You should be able to achieve your goals by creating a custom migration plan, instead of relying on generated packages. Of course this is somewhat more cumbersome to build, and we do recommend you use tools like uSync or Umbraco Deploy to automate these things.