Closed rdebath closed 1 month ago
Hi, are there any plans to review this? Two of our NextMajor pipelines have been failing since July 19 due to this error when there is an assignment to CaptionClass.
##[error]Install-NAVApp:
Line |
15 | $output = Install-NAVApp @cmdletArgs;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
| C# compilation has failed for the application object PageExtension_70911617.
The failing c# file name is EDF5DE6AF6D9B2F2AA6668AD9870C067A982468C7B0703D4A48D76A2CAA69095.cs. You can find this file with the associated AL file saved in the c:\DatabasesVol\ALAssemblies\apps\compilationerrors folder.
Detailed compilation error: c:\DatabasesVol\ALAssemblies\apps\metadata\3\ED\EDF5DE6AF6D9B2F2AA6668AD9870C067A982468C7B0703D4A48D76A2CAA69095.cs(41,28): error CS0029: Cannot implicitly convert type 'Microsoft.Dynamics.Nav.Runtime.NavText' to '(string, bool)'
Um @steveendow they seem to have got rid of my error for NextMajor (V25) between the 17th and the 24th of August (Maybe as part of the V26 split) and my tests are running again.
Do you need to refresh a Docker Image ? Though I notice that your issue is on a PageExt, mine was on a TableExt. Perhaps it's not exactly the same issue and they'll need an example.
Hmm, tests; some of my APPs don't have tests, if they might have only half fixed this I need to check those.
Thanks for the update. Unfortunately, we still received the error as of August 29.
Build pipeline: NextMajor Finished: Thu, Aug 29 2024 22:39:10 GMT+00:00
We use COSMO Alpaca for our pipelines, so I don't believe that the Docker Image should be an issue. I was not able to find the Container version info in the pipeline log--I'll have to contact COSMO to see how to find that info.
Thank you for the observation that your error was related to a Table Extension, and our error is related to a Page Extension.
pageextension 70911617 "AP VEND Log EXT BLD" extends "Vendor Card"
{
layout
{
modify("Name 2")
{
CaptionClass = VendorName2Caption;
Visible = true;
}
}
We just re-ran our NextMajor pipeline and it is still failing on the Publish App step.
COSMO showed me how to find the BC Container version. The version today is: sandbox-25.0.23364.23502-us
This is a bug that we've fixed fairly recently, the bugfix should be in version 25.0.23862.0 of the platform or greater.
Confirmed for 26.0.23876.0 too.
@thloke when it will available? i just created new BC25 sandbox and its - Version: US Business Central 25.0 (Platform 25.0.23623.0 + Application 25.0.23364.23635)
@thloke when it will available? i just created new BC25 sandbox and its - Version: US Business Central 25.0 (Platform 25.0.23623.0 + Application 25.0.23364.23635)
I'm not sure when the SaaS sandboxes will be updated, but the docker images should have the fixed build already.
Please include the following with each issue:
1. Describe the bug The C# code generated for a validated APP file gives a C# error CS0029 when published. It's been doing this for the last week or two.
2. To Reproduce Steps to reproduce the behavior:
The code below must be compiled into an App and PUBLISHED.
Note: Because the developers need to copy and paste the code snippet, including a code snippet as a media file (i.e. .gif) is not sufficient.
3. Expected behavior The compile of the generated C# should never throw an error due to incorrect code.
4. Actual behavior
A clear and concise description of what happened accompanied by images, animations, or a link to a video showing the issue occurring
5. Versions:
Final Checklist
Please remember to do the following:
[ X] Search the issue repository to ensure you are reporting a new issue
[ N/A] Reproduce the issue after disabling all extensions except the AL Language extension
[ X] Simplify your code around the issue to better isolate the problem