as user sorts by any column of Page X, NAV client crashes

Damjan
Member Posts: 94
Hi All,
I have strange issue as users open page 5076 - "Interaction Log Entries", where page Interaction Log Entry has set filtering in OnFindRecord, where page is opened as expected, but when user sorts records on field (i.e. Description) the page freezes and NAV client crashes.
I tried to debug the error and it works fine when I am debugging line by line, but when I do not debugg the page freezes and NAV client crashes.
I think the issue might be in records that are being filtered using in OnFindRecord, but I cannot get to the code where error pops, because NAV client crashes.
Has anybody else these kind of issues before?
Thanks Damjan
I have strange issue as users open page 5076 - "Interaction Log Entries", where page Interaction Log Entry has set filtering in OnFindRecord, where page is opened as expected, but when user sorts records on field (i.e. Description) the page freezes and NAV client crashes.
I tried to debug the error and it works fine when I am debugging line by line, but when I do not debugg the page freezes and NAV client crashes.
I think the issue might be in records that are being filtered using in OnFindRecord, but I cannot get to the code where error pops, because NAV client crashes.
Has anybody else these kind of issues before?
Thanks Damjan
0
Best Answer
-
just found out what the issue was
code has been called to run the PagePart on OnAfterGetCurrRecord, which somehow worked as I was debugging the page, but it did not worked (crashed the NAV client) if I did not debugg the page...
I commented the issued code and set filters on the PagePart directly.
Page and PagePart works as expected, now.0
Answers
-
Just found out, that if I debug the page (breakpoint set on frist code line in OnFindRecord) and I step in with F11, the page works as expected, but if I do not debug the page and click on any column to sort by records by that column, the page freezes and NAV client crashes.
0 -
just found out what the issue was
code has been called to run the PagePart on OnAfterGetCurrRecord, which somehow worked as I was debugging the page, but it did not worked (crashed the NAV client) if I did not debugg the page...
I commented the issued code and set filters on the PagePart directly.
Page and PagePart works as expected, now.0 -
Somtimes it also happens when the data hold by the table is not respected by its data types.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
I have opened a new thread, where I found out that there is still some issue, perhaps you can look at that thread
https://forum.mibuso.com/discussion/76469/onaftergetcurrrecord-code-crashes-nav-client#latest
Thanks0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions