[TinyOWS-dev] Re: [tinyows] #15: Insert transaction doesn't return id of features in the response

tinyows trac at camptocamp.com
Thu Nov 20 16:28:46 EST 2008


#15: Insert transaction doesn't return id of features in the response
----------------------------+-----------------------------------------------
     Reporter:  nsavard     |           Owner:  nsavard            
         Type:  defect      |          Status:  new                
     Priority:  blocker     |         Version:  SVN                
   Resolution:              |        Keywords:  insert,response,fid
        Stage:  Unreviewed  |        Approval:  Proposed           
        Patch:  None        |      Complexity:  Unknown            
Compatibility:  Unknown     |   Specification:  Unnecessary        
----------------------------+-----------------------------------------------
Changes (by nsavard):

  * approval:  Unnecessary => Proposed

Comment:

 I propose the following solution.  Check if an id is provided in the
 request.  If yes, use this id in the response.  Otherwise retrieve the
 primary key of the newly inserted element in this layer.  I'll add a patch
 for this.

-- 
Ticket URL: <https://www.tinyows.org/trac/tinyows/ticket/15#comment:1>
tinyows <https://www.tinyows.org/trac/tinyows>
TinyOWS



More information about the TinyOWS-dev mailing list