Hi
I'm working on a XAF application that I just upgraded to 15.2. After hitting some bumps I came to the point that only the hotfix could fix. And it did… sort of. I was able to run the application but now the pages do not fully load (the navigation tabs are missing and there is no respons to client actions). When I hit refresh on my browser the page loads again properly this time. The issue occured on firefox and chrome (havnt checked on any other brawser) and the only indication of what the problem might be is the message in the browser console: baseCollection is undefined. It occures whenever I hit a navigation button, edit, new, delete button or just select an object from a grid.
Pleas help.
"baseCollection is undefined" JavaScript error occurs after a hotfix for 15.2.4 is installed
Answers approved by DevExpress Support
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.
Hi,
I have upgrade my projects using the Project Converter, but the issue is not solved.
I have attached the required screenshot (the web browser's Console).
I hope you can help me with this issues.
Thanks,
Rossano
We need additional time to replicate and research this issue. We will get back once we have any result.
Hello Rossano ,
To process your recent post more efficiently, I created a separate ticket on your behalf: T335561: JavaScript error occurs after a hotfix for 15.2.4 is installed. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.
The issue occurs, because previously we loaded client libraries required for our controls manually, and in the next update they will be loaded through the devExpress.settings.embedRequiredClientLibraries option in the configuration file. So, the configuration file should contain the following entries:
<configuration> <configSections> <sectionGroup name="devExpress"> <!-- old config --> <section name="settings" type="DevExpress.Web.SettingsConfigurationSection, DevExpress.Web.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" requirePermission="false" /> </sectionGroup> </configSections> <!-- old config --> ... <devExpress> <settings embedRequiredClientLibraries="true" /> </devExpress>
See more information here: Embedding Required Client Libraries. Normally, the Project Converter tool should add these lines automatically, but this does not work in your configuration file. We are going to work on this issue further to fix Project Converter. Currently, please add the above mentioned entries manually.
Thanke You very much. Finaly I can test all the new things You addet in 15.2 on my own application:)