Apache OpenOffice (AOO) Bugzilla – Issue 22342
No scripts are shown in Tools/Configure dialog if Java is disabled
Last modified: 2005-01-06 15:47:07 UTC
Disable Java in the Security section of the Tools/Options dialog. Open the Tools/Configure dialog. Expand the OpenOffice.org Scripts node in the Category section. A dialog pops up asking you if you want to enable Java, click Cancel. Basic scripts should be shown, however there are no subnodes under the share node. If you re-enable Java in the Security section you still don't see the OpenOffice.org Scripts tree getting updated properly in Tools/Configure.
getAllProviders method in ProviderCache.cxx is too strict, it throws whenever it detects a Provider it cannot instantiate. Thus, when java is disabled any attempt to create a Provider for any of the supported java languages results in the no Providers getting returned to the client. The knock on effect is that no nodes are available for browsing.
Changed implementation of getAllProviders in ProviderCache.cxx to be more forgiving, a single failure will not terminate attempt to instantiate any Providers discovered. To verify, go to Tools/Options/Security and disable java. Then go to Tools/Configure and expand script nodes. Only basic should appear.
Warning appears, tree is empty. good. Verified
closed