Apache OpenOffice (AOO) Bugzilla – Issue 70065
BeanShell ARGUMENTS is cleared if its module is in editor window
Last modified: 2017-05-20 11:28:03 UTC
This bug has driven me nuts. I was calling a BeanShell script from a Basic script, both in the same document. I passed arguments to the BeanShell script but could not retrieve them. But not systematically. The reason is : if the BeanShell script is currently in the BeanShell Debug window, the global object ARGUMENTS is null ( ARGUMENTS.length is zero ). If the BeanShell script is NOT in the BeanShell Debug window, ARGUMENTS is correct. Next attachment is a document for demonstration. You should check if there is the same problem with JavaScript.
Created attachment 39526 [details] Document showing that ARGUMENTS depends on the Debug window
Jürgen, please find the right developer for this issue in the Scripting Framework
jsc -> ab: seems to be one for the scripting framework
2.x, STARTED
basic and scripting issues now should be assigned to component "scripting"
set target to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
Exotic case, currently no priority -> OOo Later
Reset assigne to the default "issues@openoffice.apache.org".