[Chameleon-dev] [Bug 1564] New: ExpressionBuilder: use
ogc:PropertyIsNotEqualTo instead of ogc:Not
bugzilla-daemon at bugzilla.maptools.org
bugzilla-daemon at bugzilla.maptools.org
Thu Aug 24 07:14:35 EDT 2006
http://bugzilla.maptools.org/show_bug.cgi?id=1564
Summary: ExpressionBuilder: use ogc:PropertyIsNotEqualTo instead
of ogc:Not
Product: Chameleon
Version: 2.4
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Widget
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: bartvde at xs4all.nl
For the reasons outlines by Assefa in Mapserver bug 1863:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1863
the Chameleon querybuilder should use ogc:PropertyIsNotEqualTo instead of
ogc:Not around an ogc:PropertyIsEqualTo.
Fix is in expressionbuilder.js:
case "!=" :
/* szReturn = "<ogc:Not><ogc:PropertyIsEqualTo>" +
"<ogc:PropertyName>" +
aoExpressions[nIndex].attribute +
"</ogc:PropertyName>" +
"<ogc:Literal>" +
aoExpressions[nIndex].value1 +
"</ogc:Literal>" +
"</ogc:PropertyIsEqualTo></ogc:Not>";*/
szReturn = "<ogc:PropertyIsNotEqualTo>" +
"<ogc:PropertyName>" +
aoExpressions[nIndex].attribute +
"</ogc:PropertyName>" +
"<ogc:Literal>" +
aoExpressions[nIndex].value1 +
"</ogc:Literal>" +
"</ogc:PropertyIsNotEqualTo>";
break;
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the Chameleon-dev
mailing list