Apache OpenOffice (AOO) Bugzilla – Issue 49339
Writer used to fail if Base form includes macro and preview mode is "Document"
Last modified: 2006-05-31 14:29:06 UTC
Edit form in Base and add macro to it: Tools-Macros-Organize Macros-OpenOffice.org basic..-FormName-Standard-New-Module1. Write function e.g.: Sub Main Print "test" End Sub Assign macro to form, e.g. Form..Events-After record action...-Assign-FormName-Standard-Module1-Main-Ok-Ok-Save Form, Save Base. Open form in view mode, press Enable Macros - get message: The document FormName could not be opened. Note, sometimes it works, but it isn't stable. Try to edit macro again, and probably will get: Error loading BASIC of document Module1,xml: General Error General input/output error
hmm, cannot reproduce. Can you attach a sample database?
Created attachment 26238 [details] BookWorm database
See BOOKS form in attached database file.
Can reproduce, thanks! (also submitted issue 49441 and issue 49442, which I encountered with your document :-\) fs->oj: There seems to be a timing problem with the document preview. In the database, the preview mode is set to "Document". Now, when you double-click the "BookWorm" form, it is loaded into the preview window, and (virtually at the same time) opened for viewing. Those two operations seem to interfere. Workaround: switch off document preview. Or just select the form, wait until its preview is loaded, then double-click it. Since this looks to the user like data loss ("Oh my god! I can't access my form anymore, 10 hours of designing it are lost!" :), the issue qualifies for 2.0.1, IMO.
The preview bug is fixed in cws dba201a. The other error is described in http://www.openoffice.org/issues/show_bug.cgi?id=49582
Please verify in cws dba201. Thanks. re-open issue and reassign to msc@openoffice.org
reassign to msc@openoffice.org
reset resolution to FIXED
verified in cws dba201
re-opening issue to move it to another CWS (where it needs to be verified, again)
fixed in CWS dba201b
verified in cws dba201b
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