umbraco / Umbraco.Deploy.Issues

1 stars 0 forks source link

UDA files are still being created on save after setting ExportMemberGroups to false. #150

Closed andersreus closed 1 year ago

andersreus commented 1 year ago

Specifics

After configuring the following setting in the appsettings.json file,

"Deploy": {
      "Settings": {
        "ExportMemberGroups": false
    }
}

.uda files are still being created when you save a member group in the backoffice.

Steps to reproduce

In this case it was tested on Umbraco 10 with deploy version 10.1.2

  1. Clone down the project
  2. Add the "ExportMemberGroup" setting in the appsettings.json file and set it to false
  3. Push it back to cloud
  4. Clear member groups uda files in the revision folder
  5. Save a member group in the backoffice
  6. The uda file for that member group will still be written

Expected result

Setting the exportMemberGroups to false will no longer export Member Groups to .uda files on disk.

Actual result

.uda files are still being written

AndyButland commented 1 year ago

It looks like this wasn't fully implemented. That setting is respected when you do a full export of all the schema to .uda files. But it's not when you individually save a member group (in that case it writes the file anyway).

I've resolved it now and it'll be available in the next patch releases.