microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
733 stars 243 forks source link

OnBeforeEvent not raised if Currpage.Update #4623

Closed LFlamme closed 5 years ago

LFlamme commented 5 years ago

Hi,

we have a bug/problem with actions and events. We have an action, where all the code is in a subscriber of OnBeforeAction. The only thing left in the event is a currpage.update, as that won´t work in subscribers. When the currpage.update is there, the OnBeforeAction is not executed. When we remove the currpage.update then the OnBeforeAction event in executed.

kalberes commented 5 years ago

Hi, Please tell us about your versions, and also a clear repro step if possible,

LFlamme commented 5 years ago

Hi, We are on CU2, but after we build the extension again the bug is gone and we are not able to reproduce it again. Consider this done.