AL icon indicating copy to clipboard operation
AL copied to clipboard

Adding field to standard NAV table causes warning and skips creating delta file

Open ODT-DARENC opened this issue 8 years ago • 1 comments

Getting the following warning in PowerShell: WARNING: Table=14 Element Field does not support property Level or the value is non numeric

I’m getting this warning for each base NAV table that I added fields when I create deltas using this PowerShell command: Compare-NAVApplicationObject -OriginalPath Original -ModifiedPath Modified -DeltaPath Delta -ExportToNewSyntax

Nothing special about the fields. powershellwarning

Here's the powershell errors: powershellwarning2

Docker image: navdocker.azurecr.io/dynamics-nav:11.0.19494.0-finus

ODT-DARENC avatar Dec 06 '17 22:12 ODT-DARENC

I have fixed the issue and it's pending review. The flag -exporttonewsyntax was intended to fix an issue with pages but now when using it it's asserting table fields have levels as well. The workaround until my fix is reviewed is to Compare-NavApplicationObject with the -ExportToNewSyntax flag for pages and for tables do the delta generation separately without the flag.

The fix to be able to use the flag for both is coming soon. (it's also the recommended that you use the flag when comparing all objects after this is fixed)

doivosevic avatar Dec 07 '17 15:12 doivosevic