]
Matej Novotny commented on RF-13322:
------------------------------------
This issue is reproducible in 4.5.x as well. Updated description and other details.
Tree: selectionchange event fired twice inside r:region
-------------------------------------------------------
Key: RF-13322
URL:
https://issues.jboss.org/browse/RF-13322
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-tree
Affects Versions: 4.3.4, 4.5.0.Alpha3, 5.0.0.Alpha1
Environment: RichFaces 4.3.4.Final-redhat-1
Metamer 4.3.5-SNAPSHOT
JBoss Application Server: Weld Integration 7.2.1.Final-redhat-10
JBoss AS 7.2.1.Final-redhat-10
Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
Chrome 30.0.1599.114 @ Linux x86_64
Reporter: Pavol Pitonak
Fix For: 4.5-Tracking, 5-Tracking
# deploy Metamer and open
http://localhost:8080/metamer/faces/components/richTree/simpleSwingTreeNo...
# set attribute onselectionchange=alert('changed')
# select first node in tree ("Europe")
result:
* alert is displayed twice
* you can also run Metamer tests
{code}
mvn clean verify -Pwildfly-remote-8-1
-Dtest=TestTreeAttributes#testOnselectionchangeInRegion -Dtemplates=a4jRegion
{code}
* all other templates work fine