Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Operating System: Windows XP
Platform: PC
Description
from supportilla 3800:
Chart component doesn't properly resolve web-context root if there's an
application.xml file that declares the web-uri off the main root context like:
<application>
<display-name>vs</display-name>
<module>
<web>
<web-uri>web</web-uri>
<context-root>/vs</context-root>
</web>
</module>
</application>
Chart component doesn't properly resolve web-context root if there's an
application.xml file that declares the web-uri off the main root context like:
<application>
<display-name>vs</display-name>
<module>
<web>
<web-uri>web</web-uri>
<context-root>/vs</context-root>
</web>
</module>
</application>
Activity
| Field | Original Value | New Value |
|---|---|---|
| issue.field.bugzillaimportkey | 1133 | 12365 |
| Assignee | Adnan Durrani [ adnan.durrani ] |
| Fix Version/s | 1.6 [ 10031 ] | |
| Assignee | Adnan Durrani [ adnan.durrani ] | |
| Support Customer Ref. #s | 689 |
| Fix Version/s | 1.6DR#3 [ 10050 ] | |
| Fix Version/s | 1.6 [ 10031 ] | |
| Assignee Priority | P2 |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #13481 | Mon Apr 09 11:58:56 MDT 2007 | adnan.durrani | Fix for |
| Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/outputchart/OutputChart.java
|
| Status | Open [ 1 ] | In Progress [ 3 ] |
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Fix Version/s | 1.6 [ 10031 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Assignee Priority | P2 | |
| Assignee | Adnan Durrani [ adnan.durrani ] |

It came accross that OCJ4 does not add a forward slash at the end of the path unless specified. The following code has been replaced:
folder =
((ServletContext) getFacesContext().getExternalContext()
.getContext()).getRealPath("charts");
with
folder =
((ServletContext) getFacesContext().getExternalContext()
.getContext()).getRealPath("/charts");
-revision 13481