Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2
-
Fix Version/s: 1.8.2-EE-Beta, 1.8.2-EE-GA, 1.8.3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:debian linux 5.0.2, glassfish 2.1, icefaces 1.8.2
client firefox under windows and linux
not tested with internet explorer
-
ICEsoft Forum Reference:
Description
1.8.2 changed the way urls for images are generated
the new way causes images to not be refreshed
this sort of "caching effect" problems is not happening on the client but on the server side.
1.8.1 generates those urls quite differently and it is not affected
More details can be found in the forum reference
the new way causes images to not be refreshed
this sort of "caching effect" problems is not happening on the client but on the server side.
1.8.1 generates those urls quite differently and it is not affected
More details can be found in the forum reference
Activity
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 1.8.3 [ 10211 ] | |
Assignee Priority | P2 | |
Assignee | Adnan Durrani [ adnan.durrani ] |
Attachment | ICE-4861.war [ 12073 ] |
Attachment |
|
Attachment | ICE-5048.war [ 12074 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #19589 | Tue Nov 03 15:16:33 MST 2009 | adnan.durrani | Fix for |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #19590 | Tue Nov 03 15:22:43 MST 2009 | adnan.durrani | clean up related to |
Files Changed | ||||
![]() |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Salesforce Case | [] | |
Fix Version/s | 1.8.2-EE-Beta [ 10215 ] |
Attachment | icefaces-comps.jar [ 12078 ] |
Fix Version/s | 1.8.2-EE-GA [ 10216 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 | |
Assignee | Adnan Durrani [ adnan.durrani ] |
We fixed a memory leak in 1.8.2, so regardless of number of images get served would be served by one resource only. To let the browser know when to request a new image we pass the hashCode of the contents of the image. In graphicImage case its the hashcode of the byte[]. So its in the control of the application. Don't recreate the byte array for the served images. Only recreate it when you want new picture to be loaded.
uri.getPath()+ "?"+ content.hashCode();