Error with autosave and versioning

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

Error with autosave and versioning

jcastellanos
Hello,

I'm using Orbeon 4.9.0.201505052303 PE trial for a Proof of concept and I experiment an error when I fill a form and is autosaved in draft state (example version 1 of the form) and edit the structure with form builder and publish a new version with or without changes (Example version 2). When try to edit the draft form saved previous (version 1 of the form) and Orbeon try to autosave the form, generate the popup error "Unable to complete action" (attached image). If I reload the page the error disappears and autosave work fine.

If I restart tomcat and try to edit again the draft form and orbeon try to autosave, again display the same error and if I reload the page work fine again.

The log show this error (attached log):

2015-11-25 16:33:18,497 ERROR XFormsServer  - xforms-submit-error - setting throwable {throwable: "
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|xf:submission for submission id: fr-create-update-submission, error code received when submitting instance: 400       |

In my environment (Windows and Linux) Orbeon was configured to persist in Mysql and autosave was on.

Can help me to fix that error please?.


Best regards and sorry for my English.


Juan Carlos Castellanos


log_error.txt
Reply | Threaded
Open this post in threaded view
|

Re: Error with autosave and versioning

Alessandro  Vernet
Administrator
Hi Juan,

I am sorry for the trouble. Would you by any chance be able to test this on 4.10? I am wondering if this could have been a bug in the version 4.9, that has been fixed since then.

And if you are reproducing this with version 4.10, what database are you seeing this with?

Alex

On Friday, November 27, 2015, jcastellanos <[hidden email]> wrote:
Hello,

I'm using Orbeon 4.9.0.201505052303 PE trial for a Proof of concept and I
experiment an error when I fill a form and is autosaved in draft state
(example version 1 of the form) and edit the structure with form builder and
publish a new version with or without changes (Example version 2). When try
to edit the draft form saved previous (version 1 of the form) and Orbeon try
to autosave the form, generate the popup error "Unable to complete action"
(attached image). If I reload the page the error disappears and autosave
work fine.

If I restart tomcat and try to edit again the draft form and orbeon try to
autosave, again display the same error and if I reload the page work fine
again.

The log show this error (attached log):

2015-11-25 16:33:18,497 ERROR XFormsServer  - xforms-submit-error - setting
throwable {throwable: "
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred
|
|----------------------------------------------------------------------------------------------------------------------|
|xf:submission for submission id: fr-create-update-submission, error code
received when submitting instance: 400       |

In my environment (Windows and Linux) Orbeon was configured to persist in
Mysql and autosave was on.

Can help me to fix that error please?.


Best regards and sorry for my English.


Juan Carlos Castellanos

<http://discuss.orbeon.com/file/n4660826/error.png>
log_error.txt <http://discuss.orbeon.com/file/n4660826/log_error.txt>

--
View this message in context: http://discuss.orbeon.com/Error-with-autosave-and-versioning-tp4660826.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.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 <a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;orbeon+unsubscribe@googlegroups.com&#39;)">orbeon+unsubscribe@....
To post to this group, send email to <a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;orbeon@googlegroups.com&#39;)">orbeon@....

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Error with autosave and versioning

jcastellanos
Hi Alessandro,

I upgraded Orbeon to the version 4.10.1.201511130031-PE and the problem was solved in this version.

Thanks for your help.

Best regards.
Reply | Threaded
Open this post in threaded view
|

Re: Error with autosave and versioning

Alessandro  Vernet
Administrator
Hi Juan,

Excellent, and thanks for the update.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet