Issue 11879 - "add data only" implicitly changed in bugdoc
Summary: "add data only" implicitly changed in bugdoc
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: 644
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 1.1 Beta2
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords:
: 12218 13548 18233 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-02-27 08:08 UTC by Frank Schönheit
Modified: 2006-05-31 14:29 UTC (History)
1 user (show)

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


Attachments
bugdoc (5.99 KB, application/octet-stream)
2003-02-27 08:25 UTC, Frank Schönheit
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Frank Schönheit 2003-02-27 08:08:54 UTC
* open the attached bugdoc (it works on the pre-installed "Bbiliography" data
source)
* open the form navigator, select the sub form (called "sub"), and open it's
property browser, on tab page "Data"
=> "Add data only" is set to "No"
* switch off the design mode
* move the master form to the new record
* switch off the design mode
* open the property browser for the sub form, again
=> "Add data only" is set to "Yes"
Comment 1 Frank Schönheit 2003-02-27 08:09:18 UTC
targeting and accepting
Comment 2 Frank Schönheit 2003-02-27 08:25:24 UTC
Created attachment 4923 [details]
bugdoc
Comment 3 Frank Schönheit 2003-03-11 14:40:24 UTC
*** Issue 12218 has been marked as a duplicate of this issue. ***
Comment 4 marrwinn 2003-03-17 18:11:53 UTC
Just found out how to do a workaround in Basic that works for me (not
guaranteed to be elegant or even working in other environments...):
In my parent form's "form properties" "Before record action" and
"After record change" I call the following script:

Sub CorrectMySubforms
	dim oChild as Object
	oChild =
ThisComponent.DrawPages.GetByName("myPage").Forms.GetByName("myParentForm")
	HackADO(oKind.GetByName("myChildForm1"))
	HackADO(oKind.GetByName("myChildForm2"))
End Sub


Sub HackADO(oMyForm as Object)
	oMyForm.IgnoreResult = false  ' this property is set incorrectly to
"true" by this bug
	oMyForm.reload                ' to be on the safe side...
end sub
Comment 5 marrwinn 2003-03-17 18:17:24 UTC
Typo error above:
please replace every occurrence of "oKind" and "oChild" with
"oParentForm". Sorry for that... 
Comment 6 Frank Schönheit 2003-03-22 13:26:02 UTC
fixed in CWS dba04

FS->MSC: when checking this in the CWS, please check for regression
regarding the internal bug 92410 - the fix for 92410 originally caused
this bug here.
Comment 7 Frank Schönheit 2003-04-02 09:46:38 UTC
reassign to QA for verification
Comment 8 marc.neumann 2003-04-09 14:09:52 UTC
.
Comment 9 marc.neumann 2003-04-09 14:10:08 UTC
.
Comment 10 marc.neumann 2003-04-23 09:18:26 UTC
verified in srx 644 m11, but it's not public yet.
Comment 11 phillg 2003-05-06 10:35:27 UTC
*** Issue 13548 has been marked as a duplicate of this issue. ***
Comment 12 marc.neumann 2003-05-20 09:17:25 UTC
Hi

this issue is fixed in OOo 1.1 Beta2 which is available at
http://www.openoffice.org/dev_docs/source/1.1beta2/.

I close this bug now.

Bye Marc

Comment 13 Frank Schönheit 2003-08-15 12:07:29 UTC
*** Issue 18233 has been marked as a duplicate of this issue. ***
Comment 14 hans_werner67 2004-02-02 12:57:54 UTC
change subcomponent to 'none'