You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Marco Risaliti (JIRA)" <ji...@apache.org> on 2006/09/14 13:27:24 UTC
[jira] Created: (OFBIZ-279) use file.getCanonicalFile() in
fromFilename
use file.getCanonicalFile() in fromFilename
-------------------------------------------
Key: OFBIZ-279
URL: http://issues.apache.org/jira/browse/OFBIZ-279
Project: OFBiz (The Open for Business Project)
Issue Type: Improvement
Components: framework
Affects Versions: SVN trunk
Reporter: Marco Risaliti
Priority: Trivial
Attachments: UtilURL[1].java.diff
in UtilURL.fromFilename, call File.getCanonicalFile() before calling toURL().
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (OFBIZ-279) use file.getCanonicalFile() in
fromFilename
Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/OFBIZ-279?page=comments#action_12460355 ]
Jacques Le Roux commented on OFBIZ-279:
---------------------------------------
Anybody interested by this issue before I closed (won't fix) it ?
> use file.getCanonicalFile() in fromFilename
> -------------------------------------------
>
> Key: OFBIZ-279
> URL: http://issues.apache.org/jira/browse/OFBIZ-279
> Project: OFBiz (The Open for Business Project)
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Marco Risaliti
> Assigned To: Jacques Le Roux
> Priority: Trivial
> Attachments: UtilURL[1].java.diff
>
>
> Copy of http://jira.undersunconsulting.com/browse/OFBIZ-379 from Adam Heath.
> =====================================================
> in UtilURL.fromFilename, call File.getCanonicalFile() before calling toURL().
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (OFBIZ-279) use file.getCanonicalFile() in
fromFilename
Posted by "Marco Risaliti (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/OFBIZ-279?page=all ]
Marco Risaliti updated OFBIZ-279:
---------------------------------
Attachment: UtilURL[1].java.diff
> use file.getCanonicalFile() in fromFilename
> -------------------------------------------
>
> Key: OFBIZ-279
> URL: http://issues.apache.org/jira/browse/OFBIZ-279
> Project: OFBiz (The Open for Business Project)
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Marco Risaliti
> Priority: Trivial
> Attachments: UtilURL[1].java.diff
>
>
> in UtilURL.fromFilename, call File.getCanonicalFile() before calling toURL().
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (OFBIZ-279) use file.getCanonicalFile() in
fromFilename
Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/OFBIZ-279?page=all ]
Jacques Le Roux reassigned OFBIZ-279:
-------------------------------------
Assignee: Jacques Le Roux
> use file.getCanonicalFile() in fromFilename
> -------------------------------------------
>
> Key: OFBIZ-279
> URL: http://issues.apache.org/jira/browse/OFBIZ-279
> Project: OFBiz (The Open for Business Project)
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Marco Risaliti
> Assigned To: Jacques Le Roux
> Priority: Trivial
> Attachments: UtilURL[1].java.diff
>
>
> Copy of http://jira.undersunconsulting.com/browse/OFBIZ-379 from Adam Heath.
> =====================================================
> in UtilURL.fromFilename, call File.getCanonicalFile() before calling toURL().
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (OFBIZ-279) use file.getCanonicalFile() in
fromFilename
Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/OFBIZ-279?page=all ]
Jacques Le Roux closed OFBIZ-279.
---------------------------------
Resolution: Won't Fix
Nobody interested
> use file.getCanonicalFile() in fromFilename
> -------------------------------------------
>
> Key: OFBIZ-279
> URL: http://issues.apache.org/jira/browse/OFBIZ-279
> Project: OFBiz (The Open for Business Project)
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Marco Risaliti
> Assigned To: Jacques Le Roux
> Priority: Trivial
> Attachments: UtilURL[1].java.diff
>
>
> Copy of http://jira.undersunconsulting.com/browse/OFBIZ-379 from Adam Heath.
> =====================================================
> in UtilURL.fromFilename, call File.getCanonicalFile() before calling toURL().
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (OFBIZ-279) use file.getCanonicalFile() in
fromFilename
Posted by "Jacopo Cappellato (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/OFBIZ-279?page=all ]
Jacopo Cappellato updated OFBIZ-279:
------------------------------------
Description:
Copy of http://jira.undersunconsulting.com/browse/OFBIZ-379 from Adam Heath.
=====================================================
in UtilURL.fromFilename, call File.getCanonicalFile() before calling toURL().
was:
in UtilURL.fromFilename, call File.getCanonicalFile() before calling toURL().
> use file.getCanonicalFile() in fromFilename
> -------------------------------------------
>
> Key: OFBIZ-279
> URL: http://issues.apache.org/jira/browse/OFBIZ-279
> Project: OFBiz (The Open for Business Project)
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Marco Risaliti
> Priority: Trivial
> Attachments: UtilURL[1].java.diff
>
>
> Copy of http://jira.undersunconsulting.com/browse/OFBIZ-379 from Adam Heath.
> =====================================================
> in UtilURL.fromFilename, call File.getCanonicalFile() before calling toURL().
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (OFBIZ-279) use file.getCanonicalFile() in
fromFilename
Posted by "Jacopo Cappellato (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/OFBIZ-279?page=comments#action_12441444 ]
Jacopo Cappellato commented on OFBIZ-279:
-----------------------------------------
What is the reason for doing this?
According to the Java API documentation:
http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html#toURL()
it seems it should be changed to something like this instead:
file.toURI().toURL();
But again, it would be nice to get more information (from Adam Heath) about the resons for applying this patch.
> use file.getCanonicalFile() in fromFilename
> -------------------------------------------
>
> Key: OFBIZ-279
> URL: http://issues.apache.org/jira/browse/OFBIZ-279
> Project: OFBiz (The Open for Business Project)
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Marco Risaliti
> Assigned To: Jacques Le Roux
> Priority: Trivial
> Attachments: UtilURL[1].java.diff
>
>
> Copy of http://jira.undersunconsulting.com/browse/OFBIZ-379 from Adam Heath.
> =====================================================
> in UtilURL.fromFilename, call File.getCanonicalFile() before calling toURL().
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira