This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Changes between Initial Version and Version 1 of Ticket #1373, comment 3


Ignore:
Timestamp:
08/20/13 12:27:56 (2 years ago)
Author:
hoffmann
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1373, comment 3

    initial v1  
    11I am not sure, if I can debug this until the end, but in case someone catches up, this may help save some time: 
    22[/browser/indico/indico/MaKaC/user.py#L1496] indicates how the matching is done in the AvatarHolder class. Indeed it uses the indexes, which seems to confirm that the indexing is corrupted: 
    3  
     3{{{ 
     4#!python 
    45In [16]: IndexesHolder().getById('email').matchUser('agreen@physics') 
    56Out[16]: ['269'] 
     
    78In [17]: ah.getById(IndexesHolder().getById('email').matchUser('agreen@physics')[0]).getEmail() 
    89Out[17]: 'anne.green@nottingham.ac.uk' 
     10}}} 
    911 
    1012See you later ... ?