Apache OpenOffice (AOO) Bugzilla – Issue 49019
XForms bindings in form fields linked for copied fields
Last modified: 2013-08-07 14:42:16 UTC
When designing form documents it is common to format one form field according to preferences and then copy the field and modify it so that most properties are the same. In OOo 1.9.100 and all previous milestones I have tested the bindings field of the copied controls is somewhat linked for copied fields. So if I copy a field, insert it at another position and change the binding of the copy the binding of the orignial form field changes as well. This is really annoying as it means that every field has to be inserted from scratch and all the common properties like size, orientation and so on have to be set manually.
Created attachment 25985 [details] Form where the linked fields can be seen
Reassigned to MSC.
Hi, I can reproduce this. Reassign to the right developer. Bye Marc msc -> fs: AFAIK we allready have an issue for this, but I can't find it.
reassign to fs
Not sure if we already have an issue, but the problem is known. The solution, which we cannot implement for 2.0 anymore, would cover more than this concrete problem here: We should make the selection of a binding for a control an explicit thing, instead of letting the user enter some expression, which implicitly creates a new binding. That is, there would be a property "Binding" for the controls, which lists all existent bindings (and probably also allows creating new ones). Copying a form control then would either result in a new control without binding, or at least it would be extremely easy tom revoke the binding from the copied control (by simply emptying the "Binding" property.
An explicit "Binding" property is implemented in CWS expconbin. The specification at http://specs.openoffice.org/appwide/xforms/GUI_spec_part2.sxw has been updated accordingly.
. re-open issue and reassign to msc
reassign to msc
reset resolution to FIXED
verified in cws expconbin
Hi, this is fixed in the current master. The current master is available at http://download.openoffice.org/680/index.html I close this issue now. Bye Marc