Hi,
I've recently noticed that, in my current build, whenever I change the name of a section (in the form builder), publish the form and do some submissions with it, when I then go to the summary view and try to open an older submission (from before the name change), the section for the older submission will not be included in the form. For the newer submissions, it displays correctly. Is this behaviour normal or is it my build? I expect it's normal... I'm not entirely sure what to make of this. I understand the instance definition has changed when changing the section name, so old data under "old-section-name" does not belong to the data of "new-section-name". So it could be a feature; but some people may also call it a bug: when a section changes name, some would expect the old submission's data to 'automagically' migrate... Sincerely, Koen Vanderkimpen -- 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,
When you change the section name (not the section title), you change the underlying XML format. At this time, there is no versioning of form definitions (something we would like to have some day [1]). This means the latest form definition will read your old data. And that form definition assumes a certain element name for the section. So that explains why it doesn't work.
So you got it right. We wouldn't call this a "feature", in the sense that it's not desirable. Versioning and/or data migration would be really good to have.
-Erik
[1] http://wiki.orbeon.com/forms/projects/form-runner-builder/form-builder-versioning
On Mon, Jul 9, 2012 at 6:28 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 |
Free forum by Nabble | Edit this page |