AL icon indicating copy to clipboard operation
AL copied to clipboard

Web client "freezes" if caption class property is used in ListPart sub-pages

Open haweg opened this issue 7 years ago • 2 comments

Describe the bug Under certain conditions, the WebClient "freezes" when a sub-page (ListPart) of a CardPage uses the CaptionClass property. This "freezing" of the WebClient manifests as follows:

  • The current page can no longer be closed.
  • No more actions can be executed (including new record / edit record / change record / search / settings / ...)

To Reproduce The bug occurs only under the following specific conditions:

  • Multiple instances of the same ListPart page are used as sub-pages in a CardPage
  • The ListPart sub-pages are child elements of a group element in the CardPage.
  • In the ListPart sub-pages, the CaptionClass property is filled for at least one field (with a value <> '').
  • The group in which the ListPart sub-pages are located is collapsed when the card is opened (important!).

To reproduce the bug I wrote a simple app: https://github.com/haweg/ALIssue001 In this app the behavior can be easily reproduced as follows:

  1. Search / open "Test Document List"
  2. Create a new record (CardPage "Test Document Card" opens)
  3. If the "Details" tab is unfolded when the CardPage opens, the tab must be collapsed and the CardPage must be reopened to reproduce the bug. Now you can observe the described behavior on the "Test Document Card".

Expected behavior The client should not "freeze" under those conditions.

Screenshots Let me know if you need any further documentation or screenshots.

5. Versions:

  • AL Language: 4.0.191880
  • Business Central: Platform 15.0.37492.0 + Application 15.0.36626.37543

haweg avatar Oct 30 '19 17:10 haweg

Hi @haweg ! We appreciate that you took the time to write such a good bug report! Unfortunately, we can only handle issues related to the latest developer tools on this GitHub repository. Would you mind opening this issue on Collaborate and referencing this issue?

atoader avatar Oct 30 '19 20:10 atoader

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 37893 and VS Code Extension Version .

If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo

For more details on code branches and docker images please read: https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/ https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/

ALGitHubBot avatar Dec 10 '19 10:12 ALGitHubBot