Commit bfecd5b9 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[entity edition] stop comparing values as it may trigger exceptions (e.g. timeseries cube tests)

Rely on a changes in yams instead where we have guarantee to have only comparable objects.

This follows changesets 1527b012802f, 25da1e5c7c50 and 4ba11607d84a, and should definitly
closes #2423719
parent e2913c9880a0
......@@ -43,7 +43,7 @@ __depends__ = {
'logilab-common': '>= 0.58.0',
'logilab-mtconverter': '>= 0.8.0',
'rql': '>= 0.31.2',
'yams': '>= 0.34.0',
'yams': '>= 0.36.0',
#gettext # for xgettext, msgcat, etc...
# web dependancies
'simplejson': '>= 2.0.9',
......
......@@ -100,7 +100,7 @@ Description: web interface library for the CubicWeb framework
Package: cubicweb-common
Architecture: all
XB-Python-Version: ${python:Versions}
Depends: ${misc:Depends}, ${python:Depends}, graphviz, gettext, python-logilab-mtconverter (>= 0.8.0), python-logilab-common (>= 0.58.0), python-yams (>= 0.34.0), python-rql (>= 0.31.2), python-lxml
Depends: ${misc:Depends}, ${python:Depends}, graphviz, gettext, python-logilab-mtconverter (>= 0.8.0), python-logilab-common (>= 0.58.0), python-yams (>= 0.36.0), python-rql (>= 0.31.2), python-lxml
Recommends: python-simpletal (>= 4.0), python-crypto
Conflicts: cubicweb-core
Replaces: cubicweb-core
......
......@@ -61,9 +61,7 @@ class EditedEntity(dict):
# attributes, else we may accidentaly skip a desired security check
if attr not in self:
self.skip_security.add(attr)
elif value != self[attr]:
# also, if value differs, mark attribute as needing purge by the
# client
# mark attribute as needing purge by the client
self.entity._cw_dont_cache_attribute(attr)
self.edited_attribute(attr, value)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment