To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105100
                 Issue #|105100
                 Summary|OODEV32m58: com.sun.star.task.XJob - broken "OnStartAp
                        |p" event ?
               Component|framework
                 Version|version58
                Platform|Unknown
                     URL|
              OS/Version|Windows Vista
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|code
             Assigned to|tm
             Reported by|brinzing





------- Additional comments from brinz...@openoffice.org Tue Sep 15 16:59:19 
+0000 2009 -------
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

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to