Issue 73939 - Basic : Class Module is not available after library load
Summary: Basic : Class Module is not available after library load
Status: ACCEPTED
Alias: None
Product: App Dev
Classification: Unclassified
Component: scripting (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All Windows XP
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 82459 (view as issue list)
Depends on:
Blocks:
 
Reported: 2007-01-27 19:22 UTC by bmarcelly
Modified: 2017-05-20 11:29 UTC (History)
1 user (show)

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


Attachments
Writer document with macros proving the bug (12.98 KB, application/vnd.oasis.opendocument.text)
2007-01-27 19:23 UTC, bmarcelly
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description bmarcelly 2007-01-27 19:22:18 UTC
1 Define a Class Module in a library of a document.
2 In a routine outside this library, load the library and declare a variable as an 
instance of the Class Module.
3 If the routine is run before the library is loaded, the instruction declaring the 
variable will raise an error, or worse OpenOffice will crash.
If the library is loaded before the routine is run, no problem.

Next attachment is a document as a proof.
Comment 1 bmarcelly 2007-01-27 19:23:32 UTC
Created attachment 42511 [details]
Writer document with macros proving the bug
Comment 2 noel.power 2007-01-29 17:45:34 UTC
yep confirmed, I see this too, very strange
->ab I probably will have a look also :-) when I get a chance
Comment 3 ab 2007-02-20 13:27:39 UTC
STARTED, OOo 2.x
Comment 4 Mathias_Bauer 2007-10-11 13:29:24 UTC
*** Issue 82459 has been marked as a duplicate of this issue. ***
Comment 5 Mathias_Bauer 2007-12-04 14:57:34 UTC
basic and scripting issues now should be assigned to component "scripting"
Comment 6 Martin Hollmichel 2007-12-07 12:13:34 UTC
set target to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
Comment 7 Marcus 2017-05-20 11:29:41 UTC
Reset assigne to the default "issues@openoffice.apache.org".