Issue 100956 - Document event assignments lost when opened from beamer
Summary: Document event assignments lost when opened from beamer
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 3.1 RC1
Hardware: Unknown All
: P3 Trivial (vote)
Target Milestone: OOo 3.1
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords:
Depends on:
Blocks: 95768
  Show dependency tree
 
Reported: 2009-04-08 14:08 UTC by drewjensen.inbox
Modified: 2009-05-04 17:12 UTC (History)
1 user (show)

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


Attachments
Bug doc (3.85 KB, application/vnd.sun.xml.base)
2009-04-08 14:09 UTC, drewjensen.inbox
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description drewjensen.inbox 2009-04-08 14:08:23 UTC
To reproduce:

Download the attached odb file.
Register the file as a datasuorce.
[macro execution does NOT need to be enabled]
Open the file with File>Open
Open Tools>Customize and check the Events tab.
"Open Document", "Activate Document", and "Loaded a sub-component" are each
assigned to a macro.
Close the document.
Create a new text file and open the datasource browser. (F4)
Select the datasource name given to the test document.
Use the context menu "Edit Database File" to open the file again.
Now open Tools>Customize and check the Events tab.
All macro assignments have been lost.
Comment 1 drewjensen.inbox 2009-04-08 14:09:34 UTC
Created attachment 61458 [details]
Bug doc
Comment 2 Frank Schönheit 2009-04-08 19:40:55 UTC
Uhm, yes ... stupid error, caused by the data-source/document-model duality.
Thanks a lot for finding and reporting.
Comment 3 Frank Schönheit 2009-04-08 20:09:02 UTC
fixed in CWS dba31m

find more information about this CWS, like when it is available in the master
builds, in EIS, the Environment Information System:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fdba31m
Comment 4 Frank Schönheit 2009-04-08 20:25:12 UTC
fs->msc: please verify in CWS dba31m
Comment 5 marc.neumann 2009-04-09 09:28:30 UTC
verified in cws dba31m
Comment 6 drewjensen.inbox 2009-04-29 19:28:01 UTC
Well - I'm not sure how to proceed here.

1) The assignments are not lost when the file is opened any longer - so
literally this issue can cloe

2) The scripting functionality is still badly messed up. For instance create a
custom menu item, assign to a basic macro stored IN the document. It will not
execute the menu item if the file was opened from the beamer. Same is true for
macros assigned to document level events. HOWEVER - if you use the Tools>Macros
to run any macro in the file, it works...I will send more details via mailing list.


Question is Reopen this issue or Open 1 or more new issues? (I'm thinking close
this and open new...)
Comment 7 Frank Schönheit 2009-05-04 09:07:54 UTC
uhm ... "badly messed up" is not exactly how I would describe this :-\

I'd say a new issue for the "macros from menu items not executed when DB opened
from the data source browser" problem, please.
Comment 8 drewjensen.inbox 2009-05-04 17:12:48 UTC
Closing