Closed ajkauffmann closed 5 years ago
Any update on this? This is blocking some functionalities at the moment
Hi @Frederig, it is fixed in the latest daily build, but not fixed yet in 14.x
Will this be in CU2 of the April 2019 release? It is not working in CU1
Still not working on 14.1.33107.0... When can we expect this?
Can you provide any deadline when this issue will be fixed?
Describe the bug It seems that the OnAfterGetCurrRecord trigger in a pageextension only fires when there is code in C/AL. However, when you set a breakpoint on the code in this trigger, then the debugger stops at the breakpoint. After that, the trigger works like expected, until you publish the extension again or the server is restarted.
A similar issue was reported earlier: https://github.com/Microsoft/AL/issues/1383
To Reproduce Steps and to reproduce the behavior: Create a pageextension for a page that has no code in the OnAfterGetCurrRecord trigger, e.g. for Page 15 Location List. Add a trigger OnAfterGetCurrRecord to the pageextension and add some code to it, a message will do the job. Publish and run the extension, the code will not be executed. Set a breakpoint on the code and publish again. The debugger will now stop at the code. Stop the debugger and the code will now continue to run.
AL Code to reproduce the issue
Expected behavior The OnAfterGetCurrRecord trigger in a pageextension should always execute, regardless of C/AL code in the base object.
Versions: