Closed louagej closed 3 years ago
Hi @louagej, can you verify that the reference symbols in your al package cache (see al.packageCachePath setting in VS Code) and the symbols published on the server have the same version? It looks like the symbols in your package cache contain a definition for the Record "Item Unit of Mesure" while the ones on your server do not.
Can you try setting the "al.packageCachePath" to a different folder, download the symbols again and reload VS Code. Does the error appear now in VS Code too?
Dear,
the al.packageCachePath setting in VS Code contains the correct symbols with the same version:
I just blured our Customer Name
I did change the folder and downloaded the symbols again, but that didn't made any difference. The error is not during the build of the app, but during publishing to the development environment.
Below a screenshot of the record "Item Unit of Measure" with the field present in my development environment.
The symbols on my development environment and the symbols in VSCode also have the same Version No.
Did you try to reproduce this on the latest developer preview? The build from your server seems to be from 16 CU1.
Can you provide us with some AL projects that would reproduce the issue so that we can investigate it further?
Hi, Did you have any news on this issue. I have exactly the same issue using BC 16 CU2
Hi @qutreson ,
the issue seem to be in the app.json. Since BC16.2, you can't leave 'application' in the app.json. As far as one knows , with 16.1, this wasn't an issue :eyes:
After removing this line, the problem was :heavy_check_mark:
Kind regards, Job
Hi @louagej ,
It appears that I am facing your same issue,
here is my app.json:
here is my app dependecies:
here is the error i get from VS code:
Could you help me please?
Kind regards, Delpixe
@Delpixe ,
I can only give you the detailed steps I took to :heavy_check_mark: this problem. I hope they can help you as well. :information_source:
app_where_i_need_to_get_some_extended_fields
application: 16.0.0.0
.app_where_i_need_to_get_some_extended_fields
app_where_i_need_to_get_some_extended_fields
in your dev environmentapp_where_i_need_to_get_some_extended_fields.app
(in you case version 1.0.0.2) file in the .alpackages
folder.alpackages
folderGood luck :thumbsup:
Regards, :point_right: Job
@louagej
Thanks a lot, it worked !!!
Regards
Same error is show if by mistake you are using AppId which already exist in the database you are trying to publish. I made such a mistake .. you know copy-past the app.json to save time. In my case it didn't save anything :)
Situation I've created a simple extension that uses a field from another app. This depended app is installed on my development environment. Symbols are downloaded and I can build my .app file without any errors or warnings. When I want to publish and install my new app, the VSCode debug console return the following message:
To Reproduce Steps and to reproduce the behavior:
Expected behavior Succelfull Publish and install app in development environment
Screenshots
5. Versions:
Kind regards, Job