[OpenLayers-Trac] Re: [OpenLayers] #3010: WFS transactions should work for features with null geometry

OpenLayers trac-20090302 at openlayers.org
Thu Jan 13 16:27:57 EST 2011


#3010: WFS transactions should work for features with null geometry
--------------------------+-------------------------------------------------
  Reporter:  tschaub      |       Owner:  tschaub     
      Type:  bug          |      Status:  reopened    
  Priority:  minor        |   Milestone:  2.11 Release
 Component:  Format.WFST  |     Version:  2.10        
Resolution:               |    Keywords:              
     State:  Review       |  
--------------------------+-------------------------------------------------
Changes (by tschaub):

  * state:  => Review


Comment:

 We already had the correct behavior in the {{{<wfs:Property>}}} writer.
 Where this writer encounters null values, it writes a {{{<wfs:Name>}}} but
 not a {{{wfs:Value}}} element.  The exception with geometry was because we
 were waiting to set the format's {{{srsName}}} property until the geometry
 was written.  By setting {{{srsName}}} earlier, we can pass the geometry
 along to the {{{<wfs:Property>}}} writer and this does the right thing if
 the geometry is null.

 Tests passing.  Thanks for review.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3010#comment:5>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list