[richfaces-issues] [JBoss JIRA] (RF-13601) DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable is not a constructor

Juraj Húska (JIRA) issues at jboss.org
Tue Apr 8 03:40:13 EDT 2014


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

Juraj Húska updated RF-13601:
-----------------------------

    Description: 
{{DataTable}} with multiple sorting columns does not work properly. After initial render it looks good, but then after refresh it is broken.

The header facet is visually broken and following JS error is thrown into the console:
{{TypeError: RichFaces.ui.DataTable is not a constructor}}.

The rendered code contains following usage of the DataTable constructor:
{code}
new RichFaces.ui.DataTable("form:richDataTable",{"ajaxEventOptions":{} } )
{code}

It seems that the sorting functionality works even though there is JS error and it is visually broken. However, the functional tests failed so I need to investigate more.
It worked in {{4.3.5.Final}}. 

  was:
{{DataTable}} with multiple sorting columns does not work properly. After initial render it looks good, but then after refresh it is broken.

Sorting functionality does not work, the header facet is visually broken and following JS error is thrown into the console:
{{TypeError: RichFaces.ui.DataTable is not a constructor}}.

The rendered code contains following usage of the DataTable constructor:
{code}
new RichFaces.ui.DataTable("form:richDataTable",{"ajaxEventOptions":{} } )
{code}

It worked in {{4.3.5.Final}}.


    
> DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable is not a constructor
> ---------------------------------------------------------------------------------------------
>
>                 Key: RF-13601
>                 URL: https://issues.jboss.org/browse/RF-13601
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 4.3.6
>         Environment: Firefox 25
> EAP & JBoss AS 7.1.1.Final
>            Reporter: Juraj Húska
>            Priority: Critical
>              Labels: regression
>         Attachments: brokenDataTableSortingHeaderColumns.png
>
>
> {{DataTable}} with multiple sorting columns does not work properly. After initial render it looks good, but then after refresh it is broken.
> The header facet is visually broken and following JS error is thrown into the console:
> {{TypeError: RichFaces.ui.DataTable is not a constructor}}.
> The rendered code contains following usage of the DataTable constructor:
> {code}
> new RichFaces.ui.DataTable("form:richDataTable",{"ajaxEventOptions":{} } )
> {code}
> It seems that the sorting functionality works even though there is JS error and it is visually broken. However, the functional tests failed so I need to investigate more.
> It worked in {{4.3.5.Final}}. 

--
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