[Bugs] #1201 UNSP: preserve uid property in sugar.datastore.find()

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Tue Aug 18 08:55:17 EDT 2009


#1201: preserve uid property in sugar.datastore.find()
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:  tomeu            
        Type:  task                       |         Status:  new              
    Priority:  Unspecified by Maintainer  |      Milestone:  0.86             
   Component:  sugar-datastore            |        Version:  Git as of bugdate
    Severity:  Unspecified                |     Resolution:                   
    Keywords:  r?                         |   Distribution:  Unspecified      
Status_field:  New                        |  
------------------------------------------+---------------------------------
Description changed by sascha_silbe:

Old description:

> Except for find() all functions in sugar.datastore.datastore preserve the
> 'uid' property in the metadata; write() even sets it on create().
> This patch (on top of #1197) stops find() from removing that property so
> that it's now consistently set regardless of which function inside
> sugar.datastore.datastore created the DSObject / DSMetadata (find(),
> get(), write(); get_properties() from #1197).

New description:

 Except for find() all functions in sugar.datastore.datastore preserve the
 'uid' property in the metadata; write() even sets it on create().
 This patch (based on mainline/master) stops find() from removing that
 property so that it's now consistently set regardless of which function
 inside sugar.datastore.datastore created the DSObject / DSMetadata
 (find(), get(), write(); get_properties() from #1197).

--

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/1201#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list