Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

AttributeError 'ChangesModel' object has no attribute 'permissions_field' #158

Closed
leplatrem opened this issue Mar 26, 2020 · 0 comments · Fixed by #159
Closed

AttributeError 'ChangesModel' object has no attribute 'permissions_field' #158

leplatrem opened this issue Mar 26, 2020 · 0 comments · Fixed by #159
Labels

Comments

@leplatrem
Copy link
Contributor

AttributeError 'ChangesModel' object has no attribute 'permissions_field'
  ...
  File "pyramid/viewderivers.py", line 436, in rendered_view
    result = view(context, request)
  File "pyramid/viewderivers.py", line 144, in _requestonly_view
    response = view(request)
  File "cornice/service.py", line 500, in wrapper
    response = view_()
  File "kinto_changes/views.py", line 90, in plural_get
    result = super().plural_get()
  File "kinto/core/resource/__init__.py", line 337, in plural_get
    return self._plural_get(False)
  File "kinto/core/resource/__init__.py", line 344, in _plural_get
    self._raise_412_if_modified(obj={})
  File "kinto/core/resource/__init__.py", line 989, in _raise_412_if_modified
    existing.pop(self.model.permissions_field, None)
``
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant