![]() |
#1 |
Участник
|
sashanazarov: con2buf crashing AOS
Источник: http://sashanazarov.blogspot.com/201...shing-aos.html
============== Interesting kernel issue was found today. Developer added a new string field to the SalesTable table, which already had some custom fields created for other features. Later, a new build was released to test. In the test environment, AOS crashed each time user had to create sales order lines. User reset his usage data, and that fixed the issue, but we wanted to avoid resetting all usage data for all users in production environment. Thanks to the Trace Parcer, the real source of the problem was found. Somewhere deep in the sales line creation logic, SalesTable2LineUpdatePrompt.getLast() method was called. The crash happened when unpacking a sales table buffer from a container with a con2buf function. The fix was to remove all records for this class from the SysLastValue table: X++: static void fixAosCrash(Args _args) { sysLastValue sysLastValue; delete_from sysLastValue where sysLastValue.elementName == classStr(SalesTable2LineUpdatePrompt); } Источник: http://sashanazarov.blogspot.com/201...shing-aos.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. Последний раз редактировалось mazzy; 20.02.2014 в 18:10. |
|
|
|