Hi,
We've been using orbeon 3.9.1 form builder/runner for some time now, and there has been one instance of a form runner form submission that went a bit awry. Unfortunately, we have no way of reproducing the event, so I can only hope that someone can somehow magically divine what caused this and how to prevent it :-). The following happened: without any special notification in the logs, an instance (data.xml) was sent to the persistence layer which lacked the usual namespace declarations. Other than that, it contained the filled-in data, but not any data which should have been automatically generated (in output fields, using xpath expressions, depending on other fields or the current date, using 'initial' or 'calculated' values). Upon later edits of the particular submission, the data was calculated, but the namespaces declarations remained absent (I suspect the latter is normal). The submission was made by our client, so I may not have all the details. Some things which may be relevant are: - we have <property as="xs:boolean" name="oxf.fr.noscript-link.*.*" value="false"/> - we often get the following in the logs while a form is being filled in: WARN XFormsServer - instance or text replacement did not take place upon successful response because no body was provided. {submission id: "fr-create-update-submission"} This does, however, not result in errors, as far as we know Sincerely, Koen Vanderkimpen Research/Recherche/Onderzoek Connect: "there are two hard things in computer science: cache invalidation, naming things, and off-by-one errors" (Phil Karlton et al) -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Koen,
How do you create initial instance data? Do you use by any chance the feature where you can post XML to the "new" page, or retrieve initial data via a service? In other words, is there any chance that somebody else ever creates the initial data?
-Erik
On Mon, Oct 8, 2012 at 6:48 AM, <[hidden email]> wrote: Hi, -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi Erik,
Thanks for the quick reply! We have not turned on the property which allows posts to new, I think the submission was made by orbeon. Bye, Koen Vanderkimpen Research/Recherche/Onderzoek Connect: "there are two hard things in computer science: cache invalidation, naming things, and off-by-one errors" (Phil Karlton et al) From: Erik Bruchez <[hidden email]> To: [hidden email] Date: 09/10/2012 07:17 Subject: [ops-users] Re: strange glitch on submission by form runner Sent by: [hidden email] Koen, How do you create initial instance data? Do you use by any chance the feature where you can post XML to the "new" page, or retrieve initial data via a service? In other words, is there any chance that somebody else ever creates the initial data? -Erik On Mon, Oct 8, 2012 at 6:48 AM, <Koen.Vanderkimpen@...> wrote: Hi, We've been using orbeon 3.9.1 form builder/runner for some time now, and there has been one instance of a form runner form submission that went a bit awry. Unfortunately, we have no way of reproducing the event, so I can only hope that someone can somehow magically divine what caused this and how to prevent it :-). The following happened: without any special notification in the logs, an instance (data.xml) was sent to the persistence layer which lacked the usual namespace declarations. Other than that, it contained the filled-in data, but not any data which should have been automatically generated (in output fields, using xpath expressions, depending on other fields or the current date, using 'initial' or 'calculated' values). Upon later edits of the particular submission, the data was calculated, but the namespaces declarations remained absent (I suspect the latter is normal). The submission was made by our client, so I may not have all the details. Some things which may be relevant are: - we have <property as="xs:boolean" name="oxf.fr.noscript-link.*.*" value="false"/> - we often get the following in the logs while a form is being filled in: WARN XFormsServer - instance or text replacement did not take place upon successful response because no body was provided. {submission id: "fr-create-update-submission"} This does, however, not result in errors, as far as we know Sincerely, Koen Vanderkimpen Research/Recherche/Onderzoek Connect: "there are two hard things in computer science: cache invalidation, naming things, and off-by-one errors" (Phil Karlton et al) -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] OW2 mailing lists service home page: http://www.ow2.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
That's what I feared, because in that case it's harder to explain why the document might on occasion miss namespaces!
-Erik On Mon, Oct 8, 2012 at 11:59 PM, <[hidden email]> wrote: Hi Erik, -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |