Bug #30027
closed'Cannot read property 'aDataSort' of undefined'
Description
Create AzureRm compute resource shows console error 'Cannot read property 'aDataSort' of undefined'
How reproducible:
Always
Steps to Reproduce:
1. Enable console log on browser
2. Create a compute resource using 'Azure Resource Manager'
3. Submit
4. see the console logs
Actual results:
jquery.dataTables.js:5887 Uncaught TypeError: Cannot read property 'aDataSort' of undefined
at _fnSortFlatten (jquery.dataTables.js:5887)
at _fnSortingClasses (jquery.dataTables.js:6225)
at loadedInit (jquery.dataTables.js:1208)
at HTMLTableElement.<anonymous> (jquery.dataTables.js:1306)
at Function.each (jquery.js:365)
at jQuery.fn.init.each (jquery.js:137)
at jQuery.fn.init.DataTable [as dataTable] (jquery.dataTables.js:869)
at jQuery.fn.init.$.fn.DataTable (jquery.dataTables.js:15123)
at activateDatatables (foreman_tools.js:36)
at HTMLDivElement.<anonymous> (foreman_compute_resource.js:62)
Expected results:
TypeError should not show
Additional info:
Same 'TypeError' does not come when creates the other CR i.e. Google, EC2
This error appears as for azure's compute_resources_vms index page was overridden by another table class which
did not even allow "Filters (search)" to be displayed on the page and hence, it was considered as null object on
which the property couldn't be called.
Updated by The Foreman Bot almost 5 years ago
- Pull request https://github.com/theforeman/foreman_azure_rm/pull/90 added
Updated by Aditi Puntambekar almost 5 years ago
- Status changed from New to Ready For Testing
Updated by Aditi Puntambekar almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_azure_rm|c8014e781e373eb94d9a50dcd8e88ae1c2fbc526.