Improve property check in datatable #1499

Merged
merged 2 commits into from Dec 6, 2016

Projects

None yet

2 participants

@upmauro
Contributor
upmauro commented Dec 5, 2016

Have one problem in fix #1182

   null === undefined // false
   null == undefined // true
   null === null // true

We need use just "==" to check if have value in the field, it's wrong use "===".

If we try check a JSON with null values, the exception keep occurring.

@cagataycivici cagataycivici added the defect label Dec 6, 2016
@cagataycivici cagataycivici added this to the 1.0.2 milestone Dec 6, 2016
@cagataycivici cagataycivici self-assigned this Dec 6, 2016
@cagataycivici cagataycivici merged commit 05a9913 into primefaces:master Dec 6, 2016
@cagataycivici cagataycivici changed the title from Revert #1182 patch 1 to Improve property check in datatable Dec 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment