-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello,
Sometimes we are getting this error when trying to load an index.zul page:
We are using ZK 9.1. version. Any recommendations?
Thank you, Javier
Hi everyone,
The relevant values information are:
wrap[1] = "" wrap[2] = "" jQuery.htmlPrefilter( elem ) =
<div id="zk_proc"><div id="zk_proc-m" class="z-modal-mask" style="left:0px;top:0px"></div><div id="zk_proc-t" class="z-loading" style="left:0px;top:0px"><div class="z-loading-indicator"><span class="z-loading-icon"></span> Procesando...</div></div></div>
The call stack is:
And the link of the resource is:
http://localhost:8080/StsCampanyas/zkau/web/4e7c1a4/js/zk.wpd
Thank you,
Javier
Thanks for the screen shot, the stack trace shows something you might try.
From what I see there is a custom zUtl.progressbox
implementation defined in your login.zul.
Just to isolate the problem a bit more, please comment out the custom zUtl.progressbox
function in your login.zul
to use ZK's built-in progressbox
. If the problem goes away, then you already know where to focus your debugging efforts ;).
If this doesn't help you can provide a runnable example, ideally on https://zkfiddle.org, reproducing the issue. So we can have a look on our side. You can also contact our support if you can't share your code in public.
(Another maybe related thing I found was the same error in a different library. https://github.com/bgrins/spectrum/issues/291 Do you happen to include color inputs in your page or use this spectrum.js library?)
Also it is possible to trigger this error using by executing the following code in your browser's console, so that's also something to watch out for.
document.body.innerHTML = '<input type="color" value="!"></input>'
Asked: 2020-10-14 19:32:03 +0800
Seen: 17 times
Last updated: Oct 23 '20
ideally provide a runnable example, or if that's not possible provide the some additional error information, such as the relevant variable values leading to this error.
cor3000 ( 2020-10-15 16:43:29 +0800 )editit sounds like a color value contains an '!' the values of
cor3000 ( 2020-10-15 16:46:40 +0800 )editwrap
andelem
seem relevant here. somewhere they contain a syntax errorCould you also post the full stacktrace? Currently just seeing the breakpoint from the screenshot. Having the full stack of the error would help identifying when it happens.
MDuchemin ( 2020-10-15 19:49:56 +0800 )edit