[Bugs] #1342 IMME: range queries use lexical comparison, not numerical

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Sep 15 04:59:42 EDT 2009


#1342: range queries use lexical comparison, not numerical
--------------------------------+-------------------------------------------
    Reporter:  sascha_silbe     |          Owner:  sascha_silbe     
        Type:  defect           |         Status:  new              
    Priority:  Immediate        |      Milestone:  0.86             
   Component:  sugar-datastore  |        Version:  Git as of bugdate
    Severity:  Minor            |       Keywords:  r?               
Distribution:  Unspecified      |   Status_field:  Assigned         
--------------------------------+-------------------------------------------

Comment(by tomeu):

 {{{
 >>> xapian.sortable_serialise('2.0')
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 TypeError: in method 'sortable_serialise', argument 1 of type 'double'
 }}}

 I think we should be able to accept strings in properties['timestamp'].

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1342#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list