Apache OpenOffice (AOO) Bugzilla – Issue 21580
cannot execute simple basic script via initiate event on button
Last modified: 2004-06-16 09:18:48 UTC
StarOffice 8695 on mercury (suse linux) Create a simple basic macro e.g. macro1, to execute e.g. msgbox "test" Open a text document, from the main toolbar select form functions. Add a push button to the document, on the button select controls and assign the macro1 macro to Events, when initiating. Close the button properties dialog and switch the design mode off. Select the button BUG - the script does not execute... trace message:- Trace Message: Script URI is vnd.sun.star.script://Standard.Module1.Macro1?language=Basic&location=application Trace Message: chunk is language=Basic, len is 61 Trace Message: Language name is Basic Trace Message: ProviderCache::getProvider(), drafts.com.sun.star.script.framework.provider.ScriptProviderForBasic not in cache, try to create. Trace Message: ProviderCache::createProvider() Trace Message: CallXScript, got Script, about to invoke Trace Message: CallXScript, number of params is: 1 Trace Message: < MasterScriptProvider dtor called > Trace Message: ProviderCache::ProviderCache() - dtor Trace Message: < ScriptingContext dtor called > Trace Message: CallXScript: exception iae Trace Message: leaving CallXScript Trace Message: leaving FmXUndoEnvironment::firing_Impl
Assing to TBE, need to make basic provider more tolerant regarding processing of parameters
*** Issue 21601 has been marked as a duplicate of this issue. ***
.
set target to OOo 2.0
TBE: fixed in CWS scriptingf1
Assign to Joerg for testing.
the script executes now. fixed
verified
closed, verified on src680m42-4 linux