Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Portal(Liferay)
-
Workaround Exists:Yes
-
Workaround Description:
Description
------------------- DnDCache.java
public static DnDCache getInstance(FacesContext context, boolean encoding) {
String viewId = context.getViewRoot().getViewId();
Map map = context.getExternalContext().getSessionMap();
DnDCache cache = (DnDCache) map.get(SESSION_KEY);
if (cache == null) {
cache = new DnDCache();
map.put(SESSION_KEY, cache);
}
return cache;
}
------------------- ISSUE
The instance taken using this method for the DnDCache is in the context of the current running portlet. Hence, if a drag was made from one portlet to another, the dragValue and dropValue properties would be null because the DnDCache instance is local to the source portlet.
public static DnDCache getInstance(FacesContext context, boolean encoding) {
String viewId = context.getViewRoot().getViewId();
Map map = context.getExternalContext().getSessionMap();
DnDCache cache = (DnDCache) map.get(SESSION_KEY);
if (cache == null) {
cache = new DnDCache();
map.put(SESSION_KEY, cache);
}
return cache;
}
------------------- ISSUE
The instance taken using this method for the DnDCache is in the context of the current running portlet. Hence, if a drag was made from one portlet to another, the dragValue and dropValue properties would be null because the DnDCache instance is local to the source portlet.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Dan Leahu
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.7DR#3 [ 10112 ] | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Deryk Sinotte
made changes -
Assignee | Deryk Sinotte [ deryk.sinotte ] | Adnan Durrani [ adnan.durrani ] |
Adnan Durrani
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Adnan Durrani
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 1.7 [ 10080 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Adnan Durrani [ adnan.durrani ] |