InvalidOperationException - Metadata delta application failed due to the following error(s): Modifications to property ApplicationArea are not supported
I'm seeing this error when I am trying to publish my extension:
InvalidOperationException - Metadata delta application failed due to the following error(s): Modifications to property ApplicationArea are not supported
I have the code analysis tools all enabled but nothing shows prior to publishing, and the extension builds fine.
I don't recall if we are supposed to be able to change the Application Area property or not, so we have one of two issues here:
- Publishing should not error if we are changing the ApplicationArea property
- This should be shown as an error prior to publishing the extension and should stop the build process.
The following sample AL object will repro the issue:
pageextension 50000 MyExtension extends "Sales Order Shipment"
{
layout
{
modify(Control1901796907)
{
ApplicationArea = MyNewArea;
}
}
}
Forgot to mention that I am using BC build 23500
I am getting the same error after I did the following:
- Created Extension A with Page Extension on page 5052 called "Contact List XXX"
- Uninstalled and removed Extension A.
- Created Extension B with page extension on page 5052 called "Contact List XXX"
"Metadata delta application failed due to the following error(s): Das Metadatenobjekt YYYYY wurde nicht gefunden."
Running NAV 2018 CU4 OnPremise (11.0.21441.0)
@cherabomb your error is different. Can you please post a separate issue and make sure to attach sufficient files for us to reproduce the issue.
@MikeGlue thank you for reporting this issue, you are not supposed to be able to modify the application area. We will add a compiler check for you so that you can spot this easily without having to publish the app.
The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 26025.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read: https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/ https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/
The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 26025.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read: https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/ https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/
The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 26025.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read: https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/ https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/
The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 26025.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read: https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/ https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/
The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 26025 and VS Code Extension Version 2.0.64846.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read: https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/ https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/
The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 26025 and VS Code Extension Version 2.0.64846.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read: https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/ https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/