Issue 36608 - [CWS eforms2] changing standard value of an attribute is not reflected in a bound control
Summary: [CWS eforms2] changing standard value of an attribute is not reflected in a b...
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: marc.neumann
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-03 15:35 UTC by Frank Schönheit
Modified: 2013-08-07 14:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Frank Schönheit 2004-11-03 15:35:08 UTC
- open a new XML form document
- open the data navigator
- insert a new element with an arbitrary name
- below it, insert a new attribute with an arbitrary name, of type "Boolean".
Set its "Default
  value" to "true"
- insert a text form control into the document
- on the "Data" tab page of the property browser for the control, bind it to the
newly
  created attribute (i.e. if you chose the default names, enter
"newElement/@newAttribute"
  as "Binding expression" in the property browser)
- in the data navigator, chose "Edit attribute" in the attribute's context menu
- change the "Default value" to "false"
=> this change is expected to be propagated to the bound control, but it isn't
Comment 1 openoffice 2004-12-10 11:05:24 UTC
dvo->mbu: Please have a look at this.
Comment 2 mbu 2004-12-13 15:06:32 UTC
issue resolved, added proper event propagation for attribute value changes.
see /unoxml/dom/attr.cxx
Comment 3 mbu 2005-01-21 11:23:59 UTC
reopen to assign to QA
Comment 4 mbu 2005-01-21 11:38:49 UTC
please verify.
Comment 5 thorsten.ziehm 2005-02-02 14:19:34 UTC
set to state 'resolved/fixed'
Comment 6 marc.neumann 2005-03-11 10:33:14 UTC
reopen because it's not fixed, if I follow the description from fs I have still
"true" displayed in the bound control.
Comment 7 marc.neumann 2005-03-11 10:33:36 UTC
reassign to dvo
Comment 8 openoffice 2005-03-15 14:23:55 UTC
dvo: Fixed again.

This broke when distributeMIP/the xforms-generic event was introduced. This code
temporarily defers updates, and then resets the update status. It should
preserve the old status instead.
Comment 9 openoffice 2005-03-16 10:33:54 UTC
dvo: Fixed in current CWS build.

re-open issue and reassign to msc@openoffice.org
Comment 10 openoffice 2005-03-16 10:34:02 UTC
reassign to msc@openoffice.org
Comment 11 openoffice 2005-03-16 10:34:07 UTC
reset resolution to FIXED
Comment 12 marc.neumann 2005-03-17 07:56:30 UTC
Hi,

verified in cws eforms4

Bye Marc
Comment 13 marc.neumann 2005-04-08 12:57:21 UTC
Hi,

fixed in current developer build -> close.
The current developer build can be found at
http://download.openoffice.org/680/index.html
Feel free to reopen if this issue is not fixed in the developer build.

Bye Marc