Comment 2 for bug 362014

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

Where is the fix committed? I expect this is a problem even in the latest trunk with lp:~aelkner/schooltool/importer_fixes merged.

What sheet and values does this bug affect? Only usernames in Persons sheet? Numbers as usernames is an edge case. As I remember from testing, if SchoolYear ID is e.g. "2010", you may get an error "not unicode or ascii string". But I was able to avoid the error by changing the format of the cells from number to default.

getTextFoundValid method throws an error if it gets a number. But since we know there should be text, we could return unicode(value) anyway. Or this may produce u'1200.0' when u'1200' is expected?