Working through the "Developing Mobile Apps" track Dashboard/SideBar exercise I end up with a blank screen in the browser debug environment, with the outsystems App on Android it does show the app and the Sidebar but when searching an error message is shown either on-screen or in the platform error log "DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node."
Building a search screen instead of a sidebar works correct.
Using the materials form the next https://www.outsystems.com/learn/lesson/1833/dashboard-exercise "Dashboard Exercise" to rebuild from a known source reproduces the issue....
Studio 11.8.7
Development Environment 11.9.0
All dependencies updated to latest versions.
Hello,
Even I was facing the same issue but it got solved when I placed the sidebar widget outside the container which encloses the first If widget of the screen. Refer to the attachment,.
Hi Ido,
Maybe you can share the .oml file for someone to look at what goes wrong?
Regards,
Daniel
As mentioned the source file in the materials of https://www.outsystems.com/learn/lesson/1833/dashboard-exercise will reproduce the problem. My own sources now use a screen rather then the sidebar....
Cheers,
Ido
Screenshot
A very basic sidebar test does work however....
In installed the training excersise .oap and can reproduce the same error messages you get.
In the browser previewer this acaused the application not to work.
When installed on my mobile it works correctly.
I will try and figure out what is wrong, I have reported it to OutSystems to look at.
I also encountered the same error while accessing the ToDo application Dashboard screen, but it was not observed every time.
Work around: Encapsulate the sidebar widget within the IF widget with below mentioned condition
GetLocalCategories.IsDataFetched
Please refer the attached updated .oml file
Hope this helps you!
Benjith Sam
Benjith Sam wrote:
Nice, still it should work in the previewer if it works without the workaround on a device.
I got the issue already when just implementing the text/notes search so categories where not yet involved...