Issue 70065 - BeanShell ARGUMENTS is cleared if its module is in editor window
Summary: BeanShell ARGUMENTS is cleared if its module is in editor window
Status: ACCEPTED
Alias: None
Product: App Dev
Classification: Unclassified
Component: scripting (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-03 13:36 UTC by bmarcelly
Modified: 2017-05-20 11:28 UTC (History)
1 user (show)

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


Attachments
Document showing that ARGUMENTS depends on the Debug window (11.45 KB, application/vnd.oasis.opendocument.text)
2006-10-03 13:37 UTC, bmarcelly
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description bmarcelly 2006-10-03 13:36:50 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.
Comment 1 bmarcelly 2006-10-03 13:37:58 UTC
Created attachment 39526 [details]
Document showing that ARGUMENTS depends on the Debug window
Comment 2 Mathias_Bauer 2006-10-30 12:00:00 UTC
Jürgen, please find the right developer for this issue in the Scripting Framework
Comment 3 jsc 2006-10-30 12:05:54 UTC
jsc -> ab: seems to be one for the scripting framework
Comment 4 ab 2006-10-31 10:49:33 UTC
2.x, STARTED
Comment 5 Mathias_Bauer 2007-12-04 14:57:42 UTC
basic and scripting issues now should be assigned to component "scripting"
Comment 6 Martin Hollmichel 2007-12-07 12:13:50 UTC
set target to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
Comment 7 ab 2011-01-19 10:38:55 UTC
Exotic case, currently no priority
-> OOo Later
Comment 8 Marcus 2017-05-20 11:28:03 UTC
Reset assigne to the default "issues@openoffice.apache.org".