Issue 100862

Summary: Macro assigned to Open Document for embedded forms is not called till the db has been closed and reopened
Product: Base Reporter: drewjensen.inbox
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 3.1 RC1   
Target Milestone: ---   
Hardware: Unknown   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
bug doc none

Description drewjensen.inbox 2009-04-05 17:09:59 UTC
Checked w/both XP and Linux

Open the attached document
Open the form Assets. The form opens noramlly.
Open the form again in Edit mode.
Use to Tools/Customize to verify that the Event 'Open Document' has been
assigned to the macro standard:module1:onOpenDocument

The macro is never called for embedded forms.
Comment 1 drewjensen.inbox 2009-04-05 17:10:39 UTC
Created attachment 61397 [details]
bug doc
Comment 2 drewjensen.inbox 2009-04-05 17:24:29 UTC
Changed summary line.
With RC1 the macro is called but not until the ODB file has been closed and
reopened.
Comment 3 Frank Schönheit 2009-04-06 14:57:47 UTC
cannot reproduce.

OOO310.m9 (3.1 RC1)
- open the database document
- double-click the form
=> form opens
=> on-load message box pops up
- close the form
- open the form for editing ("Edit" from its context menu)
=> form opens
=> on-load message box pops up
Comment 4 mchris 2009-04-06 16:42:48 UTC
I can confirm this but on 310m7.