ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Rec.CalcFields causes JIT Error on Page.

Open jonaswre opened this issue 3 years ago • 3 comments

There seems to be an issue with the latest BC 22.

If you run Rec.CalcFields on a page to "calculate" a blob. Next time you change Rec you will get the following error.

1

We've created a repo that reproduces this. https://github.com/byndit/Debug-JIT-Error#readme

Since this was working in 21. This is probably a bug.

jonaswre avatar May 17 '23 12:05 jonaswre

@AlexanderYakunin you probably should add the foundation tag. And maybe you can ask someone of the plattform team to check out this issue. I can't find the release notes for the change on JIT loading, but I think there has been some improvements for BC 22 where they removed the loading of blob fields data length on pages. This was at least mentioned in the Business Central Launch Event by @KennieNP image

I don't know if this is related, but I could be the case.

pri-kise avatar May 17 '23 19:05 pri-kise

@pri-kise While it might be related, but in this case the Source Table isn't extended. The blob field is in the primary table.

arsag avatar May 18 '23 06:05 arsag

@jonaswre I just tried out your well written reproductive steps on v24 and cannot reproduce it.

I'm pretty sure we hotfixed this in later versions of v22 and v23, could you please confirm if you can still reproduce this.

PhDuck avatar Feb 13 '24 20:02 PhDuck