changing section name

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

changing section name

koenvdk
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

Connect: Twitter








Overeenkomstig de bepalingen inzake de vertegenwoordiging van de vzw in haar statuten, kan enkel de gedelegeerde bestuurder, de algemeen directeur of zijn uitdrukkelijke lasthebber verbintenissen aangaan namens Smals.
Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te vernietigen.

Conformément aux dispositions relatives à la représentation de l'asbl dans ses statuts, seul l'administrateur délégué, le directeur général ou son mandataire exprès est habilité à souscrire des engagements au nom de Smals.
Si ce message ne vous est pas destiné, nous vous prions de nous le signaler immédiatement et de détruire le message.

According to the provisions regarding representation of the non profit association in its bylaws, only the chief executive officer, the general manager or his explicit agent can enter into engagements on behalf of Smals.
If you are not the addressee of this message, we kindly ask you to signal this to us immediately and to delete the message.





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

Re: changing section name

Erik Bruchez
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,

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

Connect: Twitter








Overeenkomstig de bepalingen inzake de vertegenwoordiging van de vzw in haar statuten, kan enkel de gedelegeerde bestuurder, de algemeen directeur of zijn uitdrukkelijke lasthebber verbintenissen aangaan namens Smals.
Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te vernietigen.

Conformément aux dispositions relatives à la représentation de l'asbl dans ses statuts, seul l'administrateur délégué, le directeur général ou son mandataire exprès est habilité à souscrire des engagements au nom de Smals.
Si ce message ne vous est pas destiné, nous vous prions de nous le signaler immédiatement et de détruire le message.

According to the provisions regarding representation of the non profit association in its bylaws, only the chief executive officer, the general manager or his explicit agent can enter into engagements on behalf of Smals.
If you are not the addressee of this message, we kindly ask you to signal this to us immediately and to delete the message.






--
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