[richfaces-issues] [JBoss JIRA] (RF-13044) Inplace select: JS error inside extended data table

Pavol Pitonak (JIRA) jira-events at lists.jboss.org
Tue Jun 18 09:54:21 EDT 2013


     [ https://issues.jboss.org/browse/RF-13044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavol Pitonak updated RF-13044:
-------------------------------

    Description: 
# deploy Metamer and open http://localhost:8080/metamer/faces/components/richInplaceSelect/csv.xhtml?templates=richExtendedDataTable
# open browser console
# click "set wrong value" button next to "custom" inplace input

result:
* value "rich faces" is set as expected but it is not submitted like in used case without EDT and inplace select stays open
* works fine in all other templates
* browser console contains this error:
{code}
Uncaught TypeError: Cannot read property '0' of undefined                       extendedDataTable.js?ln=org.richfaces:706
richfaces.ui.ExtendedDataTable.richfaces.BaseComponent.extendClass.selectRows   extendedDataTable.js?ln=org.richfaces:706
richfaces.ui.ExtendedDataTable.richfaces.BaseComponent.extendClass.selectionClickListener extendedDataTable.js?ln=org.richfaces:784
proxy                                                                           jquery.js:775
jQuery.event.dispatch                                                           jquery.js:3058
elemData.handle.eventHandle                                                     jquery.js:2676
jQuery.event.trigger                                                            jquery.js:2941
(anonymous function)                                                            jquery.js:3599
jQuery.extend.each                                                              jquery.js:611
jQuery.fn.jQuery.each                                                           jquery.js:241
jQuery.fn.extend.trigger                                                        jquery.js:3598
jQuery.fn.(anonymous function)                                                  jquery.js:3652
setValue                                                                        csv.xhtml?templates=richExtendedDataTable:338
setWrongValues                                                                  csv.xhtml?templates=richExtendedDataTable:323
onclick                                                                         csv.xhtml?templates=richExtendedDataTable:394
{code}

  was:
# deploy Metamer and open http://localhost:8080/metamer/faces/components/richInplaceSelect/csv.xhtml?templates=richExtendedDataTable
# open browser console
# click "set wrong value" button next to "custom" inplace input

result:
* value "rich faces" is set as expected but it is not submitted like in used case without EDT and inplace select stays open
* works fine in all other templates


    
> Inplace select: JS error inside extended data table
> ---------------------------------------------------
>
>                 Key: RF-13044
>                 URL: https://issues.jboss.org/browse/RF-13044
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input, component-tables
>    Affects Versions: 4.3.2, 5.0.0.Alpha1
>         Environment: RichFaces 5.0.0-SNAPSHOT
> Metamer 5.0.0-SNAPSHOT
> Mojarra 2.1.13
> EAP 6.0.1
> Java(TM) SE Runtime Environment 1.6.0_32-b05 @ Linux
> Chrome 27.0.1453.93 @ Linux x86_64
>            Reporter: Pavol Pitonak
>            Assignee: Pavol Pitonak
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richInplaceSelect/csv.xhtml?templates=richExtendedDataTable
> # open browser console
> # click "set wrong value" button next to "custom" inplace input
> result:
> * value "rich faces" is set as expected but it is not submitted like in used case without EDT and inplace select stays open
> * works fine in all other templates
> * browser console contains this error:
> {code}
> Uncaught TypeError: Cannot read property '0' of undefined                       extendedDataTable.js?ln=org.richfaces:706
> richfaces.ui.ExtendedDataTable.richfaces.BaseComponent.extendClass.selectRows   extendedDataTable.js?ln=org.richfaces:706
> richfaces.ui.ExtendedDataTable.richfaces.BaseComponent.extendClass.selectionClickListener extendedDataTable.js?ln=org.richfaces:784
> proxy                                                                           jquery.js:775
> jQuery.event.dispatch                                                           jquery.js:3058
> elemData.handle.eventHandle                                                     jquery.js:2676
> jQuery.event.trigger                                                            jquery.js:2941
> (anonymous function)                                                            jquery.js:3599
> jQuery.extend.each                                                              jquery.js:611
> jQuery.fn.jQuery.each                                                           jquery.js:241
> jQuery.fn.extend.trigger                                                        jquery.js:3598
> jQuery.fn.(anonymous function)                                                  jquery.js:3652
> setValue                                                                        csv.xhtml?templates=richExtendedDataTable:338
> setWrongValues                                                                  csv.xhtml?templates=richExtendedDataTable:323
> onclick                                                                         csv.xhtml?templates=richExtendedDataTable:394
> {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


More information about the richfaces-issues mailing list