Project

General

Profile

Bug #50014

provisionning, Role matching query does not exist.

Added by Frédéric Péters 16 days ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10 Jan 2021
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

Dans un moment un peu intense en suppression de rôles,

10.128.2.98 - - [10/Jan/2021:16:42:16 +0100] "POST /manage/roles/5676/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:42:21 +0100] "POST /manage/roles/5677/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:42:25 +0100] "POST /manage/roles/5678/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:42:32 +0100] "POST /manage/roles/5679/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:42:36 +0100] "POST /manage/roles/5680/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:42:40 +0100] "POST /manage/roles/5681/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:42:44 +0100] "POST /manage/roles/5682/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:42:48 +0100] "POST /manage/roles/5683/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:42:53 +0100] "POST /manage/roles/5684/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:42:57 +0100] "POST /manage/roles/5685/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:43:01 +0100] "POST /manage/roles/5686/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:43:05 +0100] "POST /manage/roles/5687/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:43:09 +0100] "POST /manage/roles/5688/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:43:14 +0100] "POST /manage/roles/5689/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:43:17 +0100] "POST /manage/roles/5690/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:43:31 +0100] "POST /manage/roles/5691/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:43:39 +0100] "POST /manage/roles/5692/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:43:44 +0100] "POST /manage/roles/5893/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:43:48 +0100] "POST /manage/roles/5895/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:43:53 +0100] "POST /manage/roles/5901/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:43:57 +0100] "POST /manage/roles/5903/delete/ HTTP/1.1" 200
10.128.2.98 - - [10/Jan/2021:16:44:01 +0100] "POST /manage/roles/5905/delete/ HTTP/1.1" 200

une série de traces

Traceback:

File "/usr/lib/python3/dist-packages/django/db/models/fields/related_descriptors.py" in __get__
  178.             rel_obj = getattr(instance, self.cache_name)

      During handling of the above exception ('RoleParenting' object has no attribute '_child_cache'), another exception occurred:

File "/usr/lib/python3/dist-packages/hobo/agent/authentic2/provisionning.py" in do_provision
  293.             self.notify_users(ous, saved.get(User, []))

File "/usr/lib/python3/dist-packages/hobo/agent/authentic2/provisionning.py" in notify_users
  156.                 parents.setdefault(rp.child.id, []).append(rp.parent.id)

File "/usr/lib/python3/dist-packages/django/db/models/fields/related_descriptors.py" in __get__
  184.                 rel_obj = self.get_object(instance)

File "/usr/lib/python3/dist-packages/django/db/models/fields/related_descriptors.py" in get_object
  159.         return qs.get(self.field.get_reverse_related_filter(instance))

File "/usr/lib/python3/dist-packages/django/db/models/query.py" in get
  380.                 self.model._meta.object_name

Exception Type: DoesNotExist
Exception Value: Role matching query does not exist.
Request data not supplied

Also available in: Atom PDF