[mapguide-trac] #693: PHP and ASP AJAX viewer fixes needed for
simple search on NULL values - MgProxyFeatureReader.GetProperty
line 448
MapGuide Open Source
trac_mapguide at osgeo.org
Wed Sep 10 17:40:49 EDT 2008
#693: PHP and ASP AJAX viewer fixes needed for simple search on NULL values -
MgProxyFeatureReader.GetProperty line 448
-----------------------------------------------------------------+----------
Reporter: cgountanis | Owner:
Type: defect | Status: new
Priority: high | Milestone: 2.1
Component: AJAX Viewer | Version: 2.0.1
Severity: blocker | Resolution:
Keywords: IsNull MgProxyFeatureReader GetProperty AJAX Viewer | External_id:
-----------------------------------------------------------------+----------
Old description:
> AJAX Viewer Fixes for PHP and ASP.NET - Value for property is null. -
> MgProxyFeatureReader.GetProperty line 448
>
> Will these changes or something like this be implemented in the next
> release of the basic AJAX viewer? We really should not have to edit
> the ajaxviewer* code every implementation. Causes many problems with
> services packs updates and organization.
>
> PHP - Add if statement around the switch($propType) area.
> Line 158
> if ($features->IsNull($propName))
> {
> $val="(null)";
> }
> else
> {
>
> ASP.NET - Add if statement around the switch (propType) area.
> Line 163
> if(features.IsNull(prop))
> {
> val = "(Null)";
> }
> else
> {
New description:
AJAX Viewer Fixes for PHP and ASP.NET - Value for property is null. -
!MgProxyFeatureReader.!GetProperty line 448
Will these changes or something like this be implemented in the next
release of the basic AJAX viewer? We really should not have to edit
the ajaxviewer* code every implementation. Causes many problems with
services packs updates and organization.
PHP - Add if statement around the switch($propType) area.
{{{
Line 158
if ($features->IsNull($propName))
{
$val="(null)";
}
else
{
}}}
ASP.NET - Add if statement around the switch (propType) area.
Line 163
{{{
if(features.IsNull(prop))
{
val = "(Null)";
}
else
{
}}}
Comment (by jbirch):
minor formatting
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/693#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list