Apache OpenOffice (AOO) Bugzilla – Issue 11892
interactive beanshell scripting does not work on 'saved' documents
Last modified: 2003-03-13 11:12:10 UTC
SFrameworkInstall.jar.27.02.2003, StarOffice 644 build m5, Solaris and Linux (rh8) On a new document select tools, scripting add on's, interactive beanshell scripting, - an interactive beanshell scripting dialog box is launched. Set security to always (under tools, options security) and open a previously saved text document. Select interactive beanshell scripting again, this time nothing happens. The user would expect that interactive beanshell scripting should work for documents, and also follow the security settings under tools, options.
Created attachment 4929 [details] trace of soffice not launching interactive beanshell scripting
Assign to Noel to Fix - Noel looks like we have an example of the security issue already raised. If you look for a non fully qualified URI and there are no permissions set for doc you will fail and come back out the whole way instead of continuing to search in user and share. Resolve in ScriptRuntimeMgrImpl needs fixed to handle this.
Should be fixed as part of security mods
Fixed, checkPermissions now thrtows an AccessControlException right the way up to the ScriptNameResolverImpl which handles it appropriately.
Dialogs relating to document permissions will still be displayed. This should be fixed as part of issue 12060
verified fixed in ed-0.2
As mentioned on the qa dev list on March 5th I will close all resolved <wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details.