AL icon indicating copy to clipboard operation
AL copied to clipboard

InvalidOperationException - Metadata delta application failed due to the following error(s): Modifications to property ApplicationArea are not supported

Open MikeGlue opened this issue 8 years ago • 9 comments

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:

  1. Publishing should not error if we are changing the ApplicationArea property
  2. 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;
        }
    }
}

MikeGlue avatar Jul 31 '18 17:07 MikeGlue

Forgot to mention that I am using BC build 23500

MikeGlue avatar Jul 31 '18 17:07 MikeGlue

I am getting the same error after I did the following:

  1. Created Extension A with Page Extension on page 5052 called "Contact List XXX"
  2. Uninstalled and removed Extension A.
  3. 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 avatar Aug 07 '18 12:08 cherabomb

@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.

ghost avatar Oct 26 '18 12:10 ghost

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/

ALGitHubBot avatar Nov 22 '18 19:11 ALGitHubBot

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/

ALGitHubBot avatar Dec 12 '18 12:12 ALGitHubBot

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/

ALGitHubBot avatar Dec 14 '18 10:12 ALGitHubBot

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/

ALGitHubBot avatar Dec 20 '18 17:12 ALGitHubBot

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/

ALGitHubBot avatar Jan 16 '19 21:01 ALGitHubBot

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/

ALGitHubBot avatar Oct 22 '19 06:10 ALGitHubBot