We are using Umbraco deploy version 13.4.0 for a project on azure with staging / master / prod setup.
Upgrading to Umbraco 16 is for the moment not yet an option because we have a requirement to use an LTS version.
In most cases deploy is working ok but we have an issue that we are not able to solve.
We have a content page and under this page there is a child node called “blocks”.
Under the “blocks” we create different other nodes of different types.
This blocks we are using on the content page. They are selected via a macro.
When we do a transfer of a new page with that structure everything looks ok on the master environment.
But on the prod environment the blocks selected in the macros are not visible in Umbraco and also not on the site itself.
We need to clear the memory cache to see this in both Umbraco and on the site.
If we change the structure and place the “blocks” node on a higher or same level as the page everything is working.
In the deploy logs we see errors like:
System.ArgumentException: An item with the same key has already been added. Key: 13420
System.AggregateException: One or more errors occurred. (An item with the same key has already been added. Key: 13420)
Umbraco.Deploy.Infrastructure.Exceptions.RemoteApiException: The remote API has thrown an exception.
The key is the id of the content page.
We think that the memory cache on prod server is cleared on the moment the content page is created but not anymore when also the child blocks are created. We don’t know how to solve/prevent this.
Are we missing some configuration to prevent this?
Or is this a (known) issue for deploy?
Many thanks for your advice and input.