← Back to team overview

openerp-expert-framework team mailing list archive

New cache system broke translation ?

 

(sorry for miss sending previous mail..)

Hi guys,

I'm working on the trunk and I encounter a bug since a recent commit. After
some debug, it appears that the new cache system might be the problem. I
would like to have a confirmation.

In ir_translation.py, line 112, there is :

self._get_ids.clear_cache(
self, uid, name, tt, lang, ids)

The problem is that "ids" is a list. We can see that in the clear_cache
method (tools/cache.py, l59) it runs del d[key]. The problem is that I got
this error :

    nobj = self.d[obj]
TypeError: unhashable type: 'list'

Do you confirm the problem ? Should I open a bug report ?

Thanks for your help,

Follow ups