Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.0 Beta
-
Fix Version/s: 1.1 Final
-
Component/s: None
-
Labels:None
-
Environment:jsf2 ICEfaces3 icemobile
Description
this issue only occurs when deployed within an IDE to an application server that uses it's own way to deploy (in other words, the files are not physically in the /webapps (for tomcat) folder of the application server). Intellij and Eclipse do this when you use the IDE to deploy an application -> non-filesystem deployment
What happens is that CoreUtils.getRealPath(facesContext, FILE_SEPARATOR); returns null and so the folder to upload to becomes "null uploads/.........." etc.
When physically deploying the application to the server, the uploads directory path is correct for example.....:-
INFO: abs file=/Users/jguglielmin/icefaces/servers/apache-tomcat-7.0.23/webapps/mobitest/uploads/433CE8CB7B8AAD97342586FD2CAB1572/bebeea8f-cbea-4494-97e3-1bf1381f97e6.jpg
when deployed within the IDE you can replace the uploads to "/nulluploads/" and then you can't find the file to show it afterwards.
What happens is that CoreUtils.getRealPath(facesContext, FILE_SEPARATOR); returns null and so the folder to upload to becomes "null uploads/.........." etc.
When physically deploying the application to the server, the uploads directory path is correct for example.....:-
INFO: abs file=/Users/jguglielmin/icefaces/servers/apache-tomcat-7.0.23/webapps/mobitest/uploads/433CE8CB7B8AAD97342586FD2CAB1572/bebeea8f-cbea-4494-97e3-1bf1381f97e6.jpg
when deployed within the IDE you can replace the uploads to "/nulluploads/" and then you can't find the file to show it afterwards.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Judy Guglielmin
created issue -
Steve Maryka
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Steve Maryka [ steve.maryka ] | Judy Guglielmin [ judy.guglielmin ] |
Ted Goddard
made changes -
Fix Version/s | 1.1 Final [ 10343 ] |
Steve Maryka
made changes -
Assignee | Judy Guglielmin [ judy.guglielmin ] | Patrick Corless [ patrick.corless ] |
Ted Goddard
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Migration
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |