[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 16:54:47 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      |    Keywords:  IsNull MgProxyFeatureReader GetProperty AJAX Viewer
External_id:               |  
---------------------------+------------------------------------------------
 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
 {

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/693>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list