[mapguide-trac] #649: FeatureService.UpdateFeatures doesn't log errors correctly

MapGuide Open Source trac_mapguide at osgeo.org
Thu Jul 31 06:28:50 EDT 2008


#649: FeatureService.UpdateFeatures doesn't log errors correctly
-------------------------------+--------------------------------------------
   Reporter:  zspitzer         |       Owner:       
       Type:  defect           |      Status:  new  
   Priority:  medium           |   Milestone:       
  Component:  Feature Service  |     Version:  2.0.1
   Severity:  major            |    Keywords:       
External_id:                   |  
-------------------------------+--------------------------------------------
 When doing an insert with FeatureService.UpdateFeatures it returne if
 there's a problem, it's returns as string GetPropertyType(9) or on success
 as a featureReader GetPropertyType(12).

 When an error occurs, the access.log still logs it as successful rather
 than failed and the error is not logged to error.log

 I triggered it by attempting to insert features into a non existent class

 {{{
 An exception occurred in FDO component. Item 'Rail3' not found in
 collection
   Exception occurred in method  MgServerUpdateFeatures.UpdateFeatures at
 line 97 in
  file
 d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.13\mgdev\server
 \src\services\feature\ServerUpdateFeatures.cpp
 }}}

 Using Mg 2.0.1 on XP

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


More information about the mapguide-trac mailing list