AL icon indicating copy to clipboard operation
AL copied to clipboard

Error while creating a decimal field in the January update

Open TinaMenezes opened this issue 9 years ago • 10 comments

Hi, I had created a decimal field previously in Visual studio code. field(70000011;"Percentage";Decimal) { } It worked properly previously. But now when I am creating a simple decimal field in the January update and installing the extension, my web client stops working due to the decimal field created and gives error that 'Server error has occured and the content cannot be displayed'.

image

error 2- while creating decimal field

Kindly give a solution to this.

TinaMenezes avatar Jan 17 '17 06:01 TinaMenezes

Could you please try with a different field Id? It could be an Id conflict that is not handled gracefully. We haven't noticed any issues with Decimal fields in particular.

StanislawStempin avatar Jan 17 '17 09:01 StanislawStempin

I created a decimal field and seems to be working fine. could be something else. please add details from event viewer. decimal

pmohanakrishna avatar Jan 17 '17 10:01 pmohanakrishna

Hi all, @StanislawStempin I created another decimal field with different ID which is unique. It is not conflicting. I checked that. But I still get the same error while opening the web client. field(70000005;"Average Field";Decimal) { }

@pmohanakrishna
I checked the event viewer. Below are the details: Type: System.IndexOutOfRangeException Message: Message: Index was outside the bounds of the array. Logical Control: Name=1001603; Caption=Average Field Format Column Binder: 27_Item.Control1001603_Format

Kindly suggest.

TinaMenezes avatar Jan 17 '17 10:01 TinaMenezes

We are investigating this. Seems like there is a problem with Decimals in some situations.

esbenk avatar Jan 17 '17 11:01 esbenk

Hi @esbenk , Ok. Thank you.

TinaMenezes avatar Jan 18 '17 05:01 TinaMenezes

We have fixed this bug and uploaded a new azure gallery image to http://aka.ms/navdeveloperpreview. Please give it a try.

StanislawStempin avatar Jan 23 '17 19:01 StanislawStempin

Hi, Does this mean that a new VM has to be created for it again ?

TinaMenezes avatar Jan 24 '17 06:01 TinaMenezes

yes, keep backup of your .al files.

pmohanakrishna avatar Jan 24 '17 06:01 pmohanakrishna

Ok. Thanks.

TinaMenezes avatar Jan 24 '17 06:01 TinaMenezes

Hi @StanislawStempin, Its working now. Thank you.

TinaMenezes avatar Jan 24 '17 08:01 TinaMenezes