Fixed
Status Update
Comments
jc...@gmail.com <jc...@gmail.com> #2
Attached is a patch to address the issue. The problem was that
Expando._load_entity_values was calling Model._load_entity_values explicitly, which
caused the cls variable to always be Model, making it so in Model._load_entity_values
called cls.properties(), it was always empty.
Expando._load_entity_values was calling Model._load_entity_values explicitly, which
caused the cls variable to always be Model, making it so in Model._load_entity_values
called cls.properties(), it was always empty.
Description
property class in a db.Model model, the program works, however if I switch
it to db.Expando it stops working throwing an exception:
<type 'exceptions.TypeError'>: string indices must be integers
at the line that says:
the_ent.json['value'] += 1
It turns out that the json property is still of type string, instead dict
(that the property class is supposed to convert it to).