Unhandled exception using FilterAsYouTypeControl when default launch page set to 16
When making use of the Global Search (the Lightbulb control top right) and clicking on the link of another list page in the search results whilst viewing the Chart of Accounts page, the browser crashes.
Steps to reproduce the behavior:
-
Change the "launch.json" file by adding these tags: "startupObjectId": 16, "startupObjectType": "Page",
-
Upon launching into the Chart of Accounts page, click on the Lightbulb and search "User Setup"
-
Click on the User Setup in the search results

This is the error in the Application Event Log:
_Error accessing Website
Unhandled error occurred on a browser or device client:
{
"clientInfo": {
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36",
"browserLanguage": "en-US"
},
"message": "Uncaught TypeError: Cannot read property 'Identifier' of null",
"pageUrl": "http://localhost:13080/bc130/?page=16&debuggingcontext=55d78b44-cfd6-4794-938a-547dfc0ef0a0&sk=55d78b44-cfd6-4794-938a-547dfc0ef0a0&runinframe=1",
"originalError": {},
"location": {
"name": "http://localhost:13080/bc130/js/desktopTSFramework.js?h=8D13AC71966E5A0ECE54A1AB1FF3D7B95570F33B80C6305A7D6679A64A59FAF5&_v=13.0.0.0",
"url": "http://localhost:13080/bc130/js/desktopTSFramework.js?h=8D13AC71966E5A0ECE54A1AB1FF3D7B95570F33B80C6305A7D6679A64A59FAF5&_v=13.0.0.0",
"lineNumber": 1,
"columnNumber": 240300
},
"detailedMessage": " at Array.map (
Versions:
- AL Langauge: 2.0.48254
- Business Central: W1 13.0 (24630)
Does it happen only if you published an extension or is it just a client search bug that always occurs?
It only seems to happen when you change the launch page from the Dev Environment, I cannot reproduce without the development environment.
Hi @Wiechardt, thank you for reporting the issue. I could not get repro with the latest version of AL extension, VS Code 1.30.0-insider. Is it stably reproducible issue?