Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-1.8.2.GA_P07
-
Fix Version/s: EE-1.8.2.GA_P08
-
Component/s: Framework
-
Labels:None
-
Environment:Woodstock
-
Assignee Priority:P2
-
Salesforce Case Reference:
Description
From the changes made in ICE-7941 a ClassCastException is thrown when accessing a non-ICEfaces page. In the customers use case they have some old Woodstock components on these pages.
Activity
Arran Mccullough
created issue -
Arran Mccullough
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case Reference | 5007000000ZvtDEAAZ |
Ken Fyten
made changes -
Assignee | Mircea Toma [ mircea.toma ] | |
Fix Version/s | EE-1.8.2.GA_P08 [ 11178 ] | |
Assignee Priority | P2 [ 10011 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #41287 | Wed Jun 04 13:38:19 MDT 2014 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/application/D2DViewHandler.java
|
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
The following code fix has been confirmed by the customer:
private String getContextPath(ExternalContext extContext) {
{ contextPath = publicContextPath; }if (contextPath == null) {
ServletContext servletContext = (ServletContext) extContext.getContext();
String publicContextPath = servletContext.getInitParameter("publicContextPath");
if (null != publicContextPath)
else
{ contextPath = extContext.getRequestContextPath(); }// Configuration configuration = ((BridgeExternalContext) extContext).getConfiguration();
{ contextPath = "/" + contextPath; }// contextPath = configuration.getAttribute("publicContextPath", extContext.getRequestContextPath());
if (!contextPath.startsWith("/"))
if (contextPath.endsWith("/"))
{ contextPath = contextPath.substring(0, contextPath.length() - 1); }}
return contextPath;
}