[api-issues] [Issue 62379] OOoBean.storeToURL() fail s on Intel/WindowsXP

2006-02-22 Thread sw
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=62379


User sw changed the following:

  What|Old value |New value

Status|UNCONFIRMED   |RESOLVED

Resolution|  |WORKSFORME





--- Additional comments from [EMAIL PROTECTED] Wed Feb 22 01:35:45 -0800 
2006 ---
setting to worksforme

-
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 62379] OOoBean.storeToURL() fail s on Intel/WindowsXP

2006-02-22 Thread sw
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=62379


User sw changed the following:

  What|Old value |New value

Status|RESOLVED  |CLOSED





--- Additional comments from [EMAIL PROTECTED] Wed Feb 22 01:36:13 -0800 
2006 ---
closing

-
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 62379] OOoBean.storeToURL() fail s on Intel/WindowsXP

2006-02-21 Thread sw
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=62379


User sw changed the following:

  What|Old value |New value

  Priority|P1|P3





--- Additional comments from [EMAIL PROTECTED] Tue Feb 21 03:50:40 -0800 
2006 ---
adjusted Prio.

sw-rktumuluri: could you attach the changed code so I get an idea what the
reason for the IO Exception is ? ... Do you perhaps don't have sufficient rights
to write in the folder you want ? ... Perhaps you store with a filter that is
only usable for export and so storeAs needs to be used ... questions over
questions :-)

-
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 62379] OOoBean.storeToURL() fail s on Intel/WindowsXP

2006-02-21 Thread rktumuluri
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=62379





--- Additional comments from [EMAIL PROTECTED] Tue Feb 21 04:58:55 -0800 
2006 ---
Here's some minimal sample code ...
/rk

--
import java.io.*;
import com.sun.star.comp.beans.*;

public class ReadWriteFile {
public static void main(String args[]) {
OOoBean aBean = new OOoBean(); 
 try {
File f = new File(d:/rk/a.odp); 
String myUrl = file:///+f.getAbsolutePath(); 
System.out.println(before aBean.loadFromURL());
aBean.loadFromURL(myUrl, null);

 File f1 = new File(d:/rk/a1.odp); 
 String myUrl_1 = file:///+f1.getAbsolutePath(); 
 aBean.storeToURL(myUrl_1, null);

} catch (Exception ex) {
ex.printStackTrace();
}
}
}

-
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 62379] OOoBean.storeToURL() fail s on Intel/WindowsXP

2006-02-21 Thread sw
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=62379





--- Additional comments from [EMAIL PROTECTED] Tue Feb 21 06:18:04 -0800 
2006 ---
File f = new File(d:/rk/a.odp); 
String myUrl = file:///+f.getAbsolutePath(); 

will return something like file:///d:\rk\a.odp ... this isn't a file url and
so already the load should fail.

You should try
String myUrl = file:///d:/rk/a.odp; 
and
String myUrl_1 = file:///d:/rk/a1.odp; 

works like a charm for me then.

-
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 62379] OOoBean.storeToURL() fail s on Intel/WindowsXP

2006-02-21 Thread rktumuluri
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=62379





--- Additional comments from [EMAIL PROTECTED] Tue Feb 21 07:53:21 -0800 
2006 ---
Yes, your suggestion works. 
Should, I close this issue ?. Or is there some other process ?. 
/rk

-
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]