Apache OpenOffice (AOO) Bugzilla – Issue 105100
OODEV32m58: com.sun.star.task.XJob - broken "OnStartApp" event ?
Last modified: 2009-10-27 14:30:02 UTC
i have some java extensions which will be initialized through com.sun.star.task.XJob (OnStartApp event): <?xml version="1.0" encoding="UTF-8"?> <oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Jobs" oor:package="org.openoffice.Office"> <node oor:name="Events"> <node oor:name="OnStartApp" oor:op="fuse"> <node oor:name="JobList"> <node oor:name="org.test.example" oor:op="replace"/> </node> </node> </node> <node oor:name="Jobs"> <node oor:name="org.test.example" oor:op="replace"> <prop oor:name="Service" oor:type="xs:string"> <value>org.test.example.Service</value> </prop> </node> </node> </oor:component-data> //XJob calls ... public Object execute(final NamedValue[] args) { initialize() } just noticed *none* of them will be executed with OO32m58. all extensions work like expected with OO 3.1.1 and (i am pretty sure) with all versions prior to m58. If i start my extensions via basic (XJobExecutor), e.g. x = CreateUnoService("org.test.example.Service") x.trigger("test") they will start working. so i think something is broken with XJob events on startup ? Oliver
> (i am pretty sure) with all versions prior to m58. can confirm: no problems with m57 on WinXP
can confirm problem with m59 added an example extension - install "broadcastcomp.uno.zip" extension - close oo including quickstart and restart - a log window will open with m57/oo3.1.1 - nothing will happen with m58/59 but one can start the log window via basic script: REM ***** BASIC ***** Sub Main CreateUnoService("org.test.OOGlobalEventConfigurator").trigger("test") End Sub
Created attachment 64802 [details] example extension
Confirmed, apparently. Owner to MBA.
The extension is triggered on start in DEV300m60 (OOO320m0), closing as worksforme
.
Maybe I fixed it "by accident" when I refactored the event configuration in CWS mba32issues02 that was integrated into m60.
not fixed in DEV300m61 (Build 9427) attached extension will not work
seems to be fixed in OOO320m2 build 9432
Yes, this was a regression from CWS oj18 in m58
closing