[api-issues] [Issue 74448] OfficeBean LocalOfficeConn ection UNO url bug

2008-05-20 Thread tkr
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=74448


User tkr changed the following:

What|Old value |New value

Target milestone|OOo 3.x   |OOo Later





--- Additional comments from [EMAIL PROTECTED] Tue May 20 13:42:24 + 
2008 ---
retarget to OOo Later

-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 74448] OfficeBean LocalOfficeConn ection UNO url bug

2008-02-10 Thread tkr
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=74448


User tkr changed the following:

What|Old value |New value

  Status|NEW   |STARTED





--- Additional comments from [EMAIL PROTECTED] Mon Feb 11 07:52:22 + 
2008 ---
.

-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 74448] OfficeBean LocalOfficeConn ection UNO url bug

2008-01-15 Thread jl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=74448


User jl changed the following:

What|Old value |New value

 Assigned to|jl|tkr

  Status|STARTED   |NEW





--- Additional comments from [EMAIL PROTECTED] Tue Jan 15 11:54:22 + 
2008 ---
.

-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 74448] OfficeBean LocalOfficeConn ection UNO url bug

2007-02-16 Thread jl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=74448


User jl changed the following:

What|Old value |New value

  Ever confirmed|  |1

  Status|UNCONFIRMED   |STARTED

Target milestone|---   |OOo 2.x





--- Additional comments from [EMAIL PROTECTED] Fri Feb 16 08:06:52 + 
2007 ---
If pipe is null although given in the URL then the error is probably in UnoUrl
(javaunohelper). There could be something wrong with the parsing of that string.

-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 74448] OfficeBean LocalOfficeConn ection UNO url bug

2007-02-12 Thread tezza2k1
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=74448
 Issue #|74448
 Summary|OfficeBean LocalOfficeConnection UNO url bug
   Component|api
 Version|OOo 2.0.4
Platform|All
 URL|
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|jl
 Reported by|tezza2k1





--- Additional comments from [EMAIL PROTECTED] Mon Feb 12 12:28:47 + 
2007 ---
com.sun.star.comp.beans.LocalOfficeConnection has a bug[1].

In the setUnoUrl() function the mPipe variable is not initialized properly.
It is set to null regardless of the value passed in.

This null value causes problems later. In the OfficeService.getIdentifier()
function, a null mPipe means that getPipeName() is called again to provide a 
value.
So if you would like to set a custom UNO connection you cannot, as getPipeName
always returns a JVM wide constant.

The bug is that the requested key is pipe, when in fact the key should be 
name.

My suggested fix (r1.10) is to change the line in setUnoUrl():

mPipe = (String) aURL.getConnectionParameters().get( pipe );


to

mPipe = (String) aURL.getConnectionParameters().get( name );




To reproduce this bug, do something like this [java]:

   String pipeName = +System.currentTimeMillis();
   String unoUrlString=uno:pipe,name= + pipeName +
;urp;StarOffice.ServiceManager ;

   LOG.debug(Attempting UNO connection with: +unoUrlString);
   aBean = new OOoBean();
   try {
   aBean.startOOoConnection(unoUrlString);
   } catch (Throwable e) {
   String errorText=I could not create an OOoBean with UNO connection:
+unoUrlString;
   LOG.fatal(errorText,e);
   throw new TechnicalMalfunctionException(errorText,e);
   }


Then look at the URP generated... via a ps auxw. It will not match the 
unoUrlString

-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]