umbraco / Umbraco.Deploy.Issues

1 stars 0 forks source link

Dictionary item udas keeps getting generated when TransferDictionaryAsContent is true #184

Closed skttl closed 10 months ago

skttl commented 10 months ago

When setting TransferDictionaryAsContent to true, I would expect deploy to stop generating uda files for dictionary items and commiting them to git. But it doesn't.

It doesn't create uda files when creating or saving them, but when I click "Export schema" on the deploy dashboard, they get created/updated for every dictionary item.

Is this expected?

Reproduction

Set TransferDictionaryAsContent to true

Do some changes in the dictionary, create a new item or update another.

Notice no changes to uda files.

Click Export schema on the dashboard.

Notice unexpected changes to uda files containing dictionary items.

Specifics

Deploy 12.0.3

Expected result

I would expect no dictionary-item__[guid].uda files to be created/updated when TransferDictionaryAsContent is set to true

Actual result

It creates/updates dictionary-item__[guid].uda files when clicking "Export schema"


This item has been added to our backlog AB#33779

AndyButland commented 10 months ago

No, it's not expected - as you suggest these entities should be excluded from being written to .uda files when they are being transferred as content. We'll include a fix for this in the next round of patch releases.