[JBoss JIRA] (RF-11992) cache bug in portlet
by Ivan Ravin (JIRA)
Ivan Ravin created RF-11992:
-------------------------------
Summary: cache bug in portlet
Key: RF-11992
URL: https://issues.jboss.org/browse/RF-11992
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.0.CR1, 3.3.3.Final
Environment: jboss portal 2.7.2; Gatein portal
Reporter: Ivan Ravin
On Jboss and Gatein portal richfaces cant be cached when user is logged in.
Bug is found for richfaces 3.3.3 but i think can be reproduced for 4.x because org.richfaces.resource.AbstractCacheableResource has similar code.
The steps for reproduce bug are:
download portlet bridge 2.2 archive
deploy richFacesPortlet.war from portlet bridge archive (i used jboss portal 2.7.2 bundle and GateIn-3.1.0-FINAL-jbossas)
look at network activity (i did with firefox + firebug, the same result on any other browser). Just open page with richfaces portlet.
When user is not logged in, all richfaces resources are caching well, and this is headers returned by server:
|Cache-Control |max-age=86400|
|Content-Type |text/javascript|
|Date |Thu, 26 Jan 2012 17:57:39 GMT|
|Expires |27 Jan 2012 17:57:39 GMT|
|Last-Modified |26 Jan 2012 17:42:17 GMT|
|Server |Apache-Coyote/1.1|
|X-Powered-By |Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)/JBossWeb-2.0|
But when user is logged in all richfaces stuff come from network every time (more than 1.3 mb).
This is headers returned by portal 2.7.2 when user logged in:
|Cache-Control |{color:red}no-cache,{color} max-age=86400|
|Content-Type |text/javascript|
|Date |Thu, 26 Jan 2012 18:26:49 GMT|
|Expires |{color:red}Thu, 01 Jan 1970 03:00:00 MSK,{color} 27 Jan 2012 18:26:49 GMT|
|Last-Modified |26 Jan 2012 18:05:56 GMT|
|{color:red}Pragma{color} |{color:red}No-cache{color}|
|Server |Apache-Coyote/1.1|
|Transfer-Encoding |chunked|
|X-Powered-By |Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)/JBossWeb-2.0|
The same problem with GateIn-3.1.0-FINAL-jbossas bundle, but now only one wrong header:
|Cache-Control |max-age=86400|
|Content-Type |text/javascript;charset=UTF-8|
|Date |Sat, 28 Jan 2012 08:54:14 GMT|
|Expires |29 Jan 2012 08:54:14 GMT|
|Last-Modified |28 Jan 2012 08:51:11 GMT|
|{color:red}Pragma{color} |{color:red}No-cache{color}|
|Server |Apache-Coyote/1.1|
|Transfer-Encoding |chunked|
|X-Powered-By |Servlet 2.5; JBoss-5.0/JBossWeb-2.1|
This header (Pragma) appears only when user is logged in, and again, all richfaces resources come through network.
I did some debug and found that bridge create good headers, but there is some code in portal which put wrong values into real response before richfaces. I cant find this code in portal sources, so maybe it is JBoss AS problem, or third party component.
Gatein portal overwrite 2 wrong headers with values provided by richfaces, but "pragma" header is absent in richfaces response, and this way in secured portlets richfaces generate too much unnesessary traffic.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (RF-12559) showcase - rich:autocomplete - JS (ReferenceError: event is not defined) error on Firefox while loading the demo
by Juraj Húska (JIRA)
Juraj Húska created RF-12559:
--------------------------------
Summary: showcase - rich:autocomplete - JS (ReferenceError: event is not defined) error on Firefox while loading the demo
Key: RF-12559
URL: https://issues.jboss.org/browse/RF-12559
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input, showcase
Affects Versions: 4.3.0.M2
Environment: Firefox 16
Reporter: Juraj Húska
Priority: Minor
There is an JS error shown in firebug while loading demo for rich:autocomplete (Custom Popup Layouts, Custom Popup Layouts).
For errors please see the attachments. The error is occurring only on Firefox. I have not noticed any error on Chrome.
The functionality seems not to be affected, so it works correctly.
I checked it both with downloaded war from staging repo and with built showcase on my local machine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (RF-12576) rich:extendedDatTable - can't move column on the last position
by Jan Papousek (JIRA)
Jan Papousek created RF-12576:
---------------------------------
Summary: rich:extendedDatTable - can't move column on the last position
Key: RF-12576
URL: https://issues.jboss.org/browse/RF-12576
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 4.3.0.M2
Environment:
RichFaces 4.3.0.20121024-M2
Metamer 4.3.0.20121024-M2
JBoss Application Server: Weld Integration 7.1.1.Final
JBoss AS 7.1.1.Final
Java(TM) SE Runtime Environment 1.7.0_07-b10 @ Linux
Firefox 16.0 @ Linux x86_64
RichFaces 4.3.0.20121024-M2
Metamer 4.3.0.20121024-M2
Weld Servlet (Uber Jar) 20120106-1159
Apache Tomcat 7.0.32
Java(TM) SE Runtime Environment 1.7.0_07-b10 @ Linux
Firefox 16.0 @ Linux x86_64
Reporter: Jan Papousek
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (RF-12549) Tab panel: order of client-side events changed
by Pavol Pitonak (JIRA)
Pavol Pitonak created RF-12549:
----------------------------------
Summary: Tab panel: order of client-side events changed
Key: RF-12549
URL: https://issues.jboss.org/browse/RF-12549
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-menu
Affects Versions: 4.3.0.M2
Reporter: Pavol Pitonak
# deploy Metamer and open http://localhost:8080/metamer/faces/components/richPanelMenuGroup/simple....
# set event handlers for beforeselect, beforeswitch, beforecollapse, begin, beforedomupdate, complete, select, collapse, switch
# collapse the second group
result:
* event handlers were invoked in different order
* expected (4.3.0.M1): beforeselect, beforeswitch, beforecollapse, begin, beforedomupdate, select, collapse, switch, complete
* was (4.3.0.M2): beforeselect, beforeswitch, beforecollapse, begin, beforedomupdate, complete, select, collapse, switch
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] Created: (RF-10230) New component tracker for 4.X
by Jay Balunas (JIRA)
New component tracker for 4.X
-----------------------------
Key: RF-10230
URL: https://issues.jboss.org/browse/RF-10230
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: component
Reporter: Jay Balunas
This is an umbrella jira that can be used to link, and track to new component requests and plans for releases in the 4.X series.
The complete process for handling new component requests, and discussions can be found here <LINK>
When creating a new component jira please link here, or create as a sub-task of this jira.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years