[JBoss JIRA] (RF-13209) RichTree JS onselectionchange() with a4jregion template
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13209?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13209:
-------------------------------
Fix Version/s: 5-Tracking
> RichTree JS onselectionchange() with a4jregion template
> -------------------------------------------------------
>
> Key: RF-13209
> URL: https://issues.jboss.org/browse/RF-13209
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.2.3.Final, 4.3.3, 4.3.4
> Reporter: Matej Novotny
> Fix For: 5-Tracking
>
>
> There is a bug when using onselectionchange() JS API in RichTree component using A4jRegion template (rest of the templates cause no problems).
> The event will be called twice - in my case I tested it with simple alert("text") in Metamer using JBoss AS 7.1.
> This bug appears in older version as well, so far I have tested it with 4.3.4, 4.3.3 and 4.2.3 Final builds all of which caused the same double event.
--
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, 4 months
[JBoss JIRA] (RF-13206) Failure to reset ClassLoader when AWT Initialization errors
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13206?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13206:
-------------------------------
Labels: low_hanging_fruit (was: )
> Failure to reset ClassLoader when AWT Initialization errors
> -----------------------------------------------------------
>
> Key: RF-13206
> URL: https://issues.jboss.org/browse/RF-13206
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 4.3.3
> Environment: ServiceMix
> Reporter: Donald Oakes
> Priority: Minor
> Labels: low_hanging_fruit
> Fix For: 5-Tracking
>
>
> In org.richfaces.application.InitializationListener.AWTInitializer, the initalize() method can fail to reset the context ClassLoader despite the finally block that should do that (from line 195):
> {code:title=org.richfaces.application.InitializationListener.AWTInitializer#195}
> } finally {
> if (testStream != null) {
> try {
> testStream.close();
> } catch (IOException e) {
> LOGGER.error(e.getMessage(), e);
> }
> }
> thread.setContextClassLoader(initialTCCL);
> }
> {code}
> In my OSGi environment, the testStream.close() invocation throws the NoClassDefFoundError pasted below. This circumvents the subsequent intention to restore the context ClassLoader. In effect, if AWT initialization fails the context ClassLoader is left in a bad state that prevents future ServiceTracker processing and hoses up the Faces initialization.
> {code}
> java.lang.NoClassDefFoundError: javax/imageio/stream/ImageInputStream
> at org.richfaces.application.InitializationListener$AWTInitializer.initialize(InitializationListener.java:198)
> at org.richfaces.application.InitializationListener.initializeAWT(InitializationListener.java:94)
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:78)
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:152)
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:43)
> at org.apache.myfaces.application.ApplicationImpl._traverseListenerList(ApplicationImpl.java:2471)
> at org.apache.myfaces.application.ApplicationImpl.access$000(ApplicationImpl.java:120)
> at org.apache.myfaces.application.ApplicationImpl$SystemListenerEntry.publish(ApplicationImpl.java:2662)
> at org.apache.myfaces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:601)
> at org.apache.myfaces.webapp.AbstractFacesInitializer._dispatchApplicationEvent(AbstractFacesInitializer.java:286)
> at org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:154)
> at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:119)
> {code}
--
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, 4 months
[JBoss JIRA] (RF-13206) Failure to reset ClassLoader when AWT Initialization errors
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13206?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13206:
-------------------------------
Fix Version/s: 5-Tracking
> Failure to reset ClassLoader when AWT Initialization errors
> -----------------------------------------------------------
>
> Key: RF-13206
> URL: https://issues.jboss.org/browse/RF-13206
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 4.3.3
> Environment: ServiceMix
> Reporter: Donald Oakes
> Priority: Minor
> Fix For: 5-Tracking
>
>
> In org.richfaces.application.InitializationListener.AWTInitializer, the initalize() method can fail to reset the context ClassLoader despite the finally block that should do that (from line 195):
> {code:title=org.richfaces.application.InitializationListener.AWTInitializer#195}
> } finally {
> if (testStream != null) {
> try {
> testStream.close();
> } catch (IOException e) {
> LOGGER.error(e.getMessage(), e);
> }
> }
> thread.setContextClassLoader(initialTCCL);
> }
> {code}
> In my OSGi environment, the testStream.close() invocation throws the NoClassDefFoundError pasted below. This circumvents the subsequent intention to restore the context ClassLoader. In effect, if AWT initialization fails the context ClassLoader is left in a bad state that prevents future ServiceTracker processing and hoses up the Faces initialization.
> {code}
> java.lang.NoClassDefFoundError: javax/imageio/stream/ImageInputStream
> at org.richfaces.application.InitializationListener$AWTInitializer.initialize(InitializationListener.java:198)
> at org.richfaces.application.InitializationListener.initializeAWT(InitializationListener.java:94)
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:78)
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:152)
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:43)
> at org.apache.myfaces.application.ApplicationImpl._traverseListenerList(ApplicationImpl.java:2471)
> at org.apache.myfaces.application.ApplicationImpl.access$000(ApplicationImpl.java:120)
> at org.apache.myfaces.application.ApplicationImpl$SystemListenerEntry.publish(ApplicationImpl.java:2662)
> at org.apache.myfaces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:601)
> at org.apache.myfaces.webapp.AbstractFacesInitializer._dispatchApplicationEvent(AbstractFacesInitializer.java:286)
> at org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:154)
> at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:119)
> {code}
--
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, 4 months
[JBoss JIRA] (RF-13206) Failure to reset ClassLoader when AWT Initialization errors
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13206?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13206:
------------------------------------
[~oakesville] would you like to formulate a pull request with a fix for this issue?
https://community.jboss.org/wiki/GuideToUsePullRequestsWithGitHubAndJIRA
> Failure to reset ClassLoader when AWT Initialization errors
> -----------------------------------------------------------
>
> Key: RF-13206
> URL: https://issues.jboss.org/browse/RF-13206
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 4.3.3
> Environment: ServiceMix
> Reporter: Donald Oakes
> Priority: Minor
>
> In org.richfaces.application.InitializationListener.AWTInitializer, the initalize() method can fail to reset the context ClassLoader despite the finally block that should do that (from line 195):
> {code:title=org.richfaces.application.InitializationListener.AWTInitializer#195}
> } finally {
> if (testStream != null) {
> try {
> testStream.close();
> } catch (IOException e) {
> LOGGER.error(e.getMessage(), e);
> }
> }
> thread.setContextClassLoader(initialTCCL);
> }
> {code}
> In my OSGi environment, the testStream.close() invocation throws the NoClassDefFoundError pasted below. This circumvents the subsequent intention to restore the context ClassLoader. In effect, if AWT initialization fails the context ClassLoader is left in a bad state that prevents future ServiceTracker processing and hoses up the Faces initialization.
> {code}
> java.lang.NoClassDefFoundError: javax/imageio/stream/ImageInputStream
> at org.richfaces.application.InitializationListener$AWTInitializer.initialize(InitializationListener.java:198)
> at org.richfaces.application.InitializationListener.initializeAWT(InitializationListener.java:94)
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:78)
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:152)
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:43)
> at org.apache.myfaces.application.ApplicationImpl._traverseListenerList(ApplicationImpl.java:2471)
> at org.apache.myfaces.application.ApplicationImpl.access$000(ApplicationImpl.java:120)
> at org.apache.myfaces.application.ApplicationImpl$SystemListenerEntry.publish(ApplicationImpl.java:2662)
> at org.apache.myfaces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:601)
> at org.apache.myfaces.webapp.AbstractFacesInitializer._dispatchApplicationEvent(AbstractFacesInitializer.java:286)
> at org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:154)
> at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:119)
> {code}
--
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, 4 months
[JBoss JIRA] (RF-13287) rich:extendedDataTable column resizing with ajax loading not working properly
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13287?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13287:
------------------------------------
Thanks for resolving this [~michpetrov]. Would you mind porting the fix to the 4.5 and 5.0 branches as well? this way we will get the fix out ASAP.
> rich:extendedDataTable column resizing with ajax loading not working properly
> -----------------------------------------------------------------------------
>
> Key: RF-13287
> URL: https://issues.jboss.org/browse/RF-13287
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.3.4
> Environment: Glassfish 3.1.2.2, Mojarra 2.1.26, IE10, IE8, Chrome 30,
> Reporter: Andreas G
> Assignee: Michal Petrov
> Labels: needs-qe, testcase_provided
> Fix For: 4.3.5
>
>
> In a rich:extendedDataTable with ajax loading turned on: When you resize a column and scroll down (load data), the size of the columns reset to their original value. Only the header keeps its size. The header and the data are not matching anymore.
> Reproducible in the 4.3.4 showcase!
--
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, 4 months
[JBoss JIRA] (RF-13287) rich:extendedDataTable column resizing with ajax loading not working properly
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13287?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13287:
-------------------------------
Labels: needs-qe testcase_provided (was: testcase_provided)
> rich:extendedDataTable column resizing with ajax loading not working properly
> -----------------------------------------------------------------------------
>
> Key: RF-13287
> URL: https://issues.jboss.org/browse/RF-13287
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.3.4
> Environment: Glassfish 3.1.2.2, Mojarra 2.1.26, IE10, IE8, Chrome 30,
> Reporter: Andreas G
> Assignee: Michal Petrov
> Labels: needs-qe, testcase_provided
> Fix For: 4.3.5
>
>
> In a rich:extendedDataTable with ajax loading turned on: When you resize a column and scroll down (load data), the size of the columns reset to their original value. Only the header keeps its size. The header and the data are not matching anymore.
> Reproducible in the 4.3.4 showcase!
--
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, 4 months