Page 1 of 1

AjaxMaps debug Popup

Posted: Tue Mar 09, 2021 6:02 pm
by i.kobeissy
Hello,

We are using ajaxMaps in our application, lately with Chrome browser we are getting a debug popup that popup up when loading a screen with an embedded ajaxMaps. It's not systematic, we don't have a pattern for reproducing the case. so my question is, is it possible to prohibit the showing of this popup ?

Regards

Re: AjaxMaps debug Popup

Posted: Tue Mar 09, 2021 6:07 pm
by Bernd Welter
Hello Ibrahim,

I forwarded this to the developer of the AJAX control - I hope he responds soon.
If not: get back to me 1:1!

Bernd

Re: AjaxMaps debug Popup

Posted: Tue Mar 09, 2021 9:15 pm
by AndreasJunghans
Hello Ibrahim,

what's the contents of this popup?

Regards,

Andreas

Re: AjaxMaps debug Popup

Posted: Wed Mar 10, 2021 7:30 am
by i.kobeissy
Hello Andreas,

The popup contains the following lines

Code: Select all

000750 DEBUG: qxp.core.Init[3]: qooxdoo 0.6.2-pre (r4314)
000771 DEBUG: qxp.core.Init[3]: loaded 40 classes
000773 DEBUG: qxp.core.Init[3]: client: webkit-537.36/win/en
and here's a screenshot of it
debugPopup
debugPopup
Regards,

Re: AjaxMaps debug Popup

Posted: Wed Mar 10, 2021 9:11 am
by AndreasJunghans
This looks like a symptom of another problem. Usually, this is what happens:

1) Some basic infrastructure is set up, including logging (default log level is "debug").
2) The actual map code is loaded, which sets the log level higher.
3) In the onload event, some debug logging is performed (what you see in the popup), but it should be suppressed because of step 2.

So I think the actual problem is some error in step 2. Could you take a look at the JavaScript console to see which errors are printed there when the popup appears?

Re: AjaxMaps debug Popup

Posted: Wed Mar 10, 2021 6:10 pm
by i.kobeissy
Hello Andreas

thanks for your answer, in fact you are right I found that we have errors in the console when the popup is shows

Code: Select all

Uncaught TypeError: vRequest is null
Uncaught ReferenceError: qxp is not defined
so I will try to solve this issue inside our application

Thank you