[OpenLayers-Trac] Re: [OpenLayers] #2938: [patch] Comparason type
like with null (property not present)
OpenLayers
trac-20090302 at openlayers.org
Mon Jan 24 14:14:56 EST 2011
#2938: [patch] Comparason type like with null (property not present)
-------------------------------+--------------------------------------------
Reporter: sbrunner | Owner: ahocevar
Type: bug | Status: new
Priority: minor | Milestone: 2.11 Release
Component: Filter.Comparison | Version: 2.10
Keywords: patch | State:
-------------------------------+--------------------------------------------
Comment(by sbrunner):
Hello an thanks Eric for your respond,
I test the attached cases to see the deferent behavior :
original:
null == undefined (booth) return true => not so good
'.+' ~ null (booth) return true => not so good
'.+' ~ undefined (booth) return true => bad
with my patch:
null == undefined (booth) return true => not so good
with your patch:
'.+' ~ null (booth) return true => not so good
Than booth version solve the main problem but booth of theme has can be
better in one case. For me booth of them where good enough.
CU
Stéphane
--
Ticket URL: <http://trac.openlayers.org/ticket/2938#comment:3>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list