Library template breaks form builder

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Library template breaks form builder

bwallis42
I've been playing with library templates and have found that once I insert a
template into a form I can no longer edit the form from the form builder. I
get a javascript error during builder initialisation

Uncaught TypeError: Cannot set property mirrorContainer of #  which has only
a getter
    at r (dragula.min.js:1)
    at kj (Dragula.scala:25)
    at ej.a (ControlDnD.scala:46)
    at HTMLDocument.<anonymous> (ControlDnD.scala:28)
    at fire (jquery-1.12.0.js:3232)
    at Object.fireWith [as resolveWith] (jquery-1.12.0.js:3362)
    at Function.ready (jquery-1.12.0.js:3582)

The for works fine in the form runner, working as designed and expected, it
is just no longer editable in the builder.

Does this error ring any bells? I've tried to reproduce it on your demo site
but failed to do so, so there may be something in my environment that is
causing this. We were using a different skin but I've changed that back to
the built in one and the error still occurs. I've also tested both chrome
(69) and firefox (60) with the same error appearing.


--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Library template breaks form builder

Alessandro  Vernet
Administrator
Hi Brian,

The error doesn't ring a bell, but it certainly look like a bug. It would be
good if you could find a (simple) way for us to reproduce it, so we can
debug what is going on. You'll let me know if you end up with a reproducible
case.

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet