Development #49726
Permettre la complétion d'un bloc de champ depuis une action "création d'une fiche" ou "modification d'une fiche"
0%
Description
Actuellement lorsque l'on souhaite paramétrer une telle action, seul l'identifiant du bloc de champ est appelé et on a pas possibilité de préciser les valeurs à intégrer dans chaque champ du bloc ou dans chaque instanciation du bloc. On ne sait pas non plus a priori combien d'instances du blocs vont être appelées.
Demandes liées
Historique
Mis à jour par Victor Claudet il y a plus de 3 ans
J'ai fait un test bébête ici : https://demarches-publik.entrouvert.com/backoffice/workflows/140/status/5/items/1/
J'ai tenté d'associer le bloc de champ du formulaire au bloc de champ de la fiche (même bloc de champ). Mais j'ai l'impression que ce qui est stocké dans form_var_iddublocdechamp ne correspond pas aux données récoltées. (je m'attendais à avoir l'ensemble des données des bloc de champs générés dans un tableau quelque part).
Exception: type = '<class 'AttributeError'>', value = ''SafeText' object has no attribute 'get'' Stack trace (most recent call first): File "/usr/lib/python3/dist-packages/wcs/sql.py", line 1367, in get_sql_dict_from_data 1365 elif sql_type == 'bytea': 1366 value = bytearray(pickle.dumps(value, protocol=2)) > 1367 elif sql_type == 'jsonb' and value.get('schema'): 1368 # block field, adapt date/field values 1369 value = copy.deepcopy(value) locals: data = {'1': '0600000000', '2': '0600000000', '3': 'un', '3_display': 'un', '4': '1-2', '5': 'vic 2020 (test), vic 2020 (test)'} field = <BlockField 5 'bloc'> formdef = <CardDef 'vic-2020-fiche' id:1> self = <_wcs_Vic-2020-Fiche 'vic-2020-fiche - n°None' id:None> sql_dict = {'f1': '0600000000', 'f2': '0600000000', 'f3': 'un', 'f3_display': 'un', 'f3_structured': bytearray(b'\x80\x02N.'), 'f4': '1-2', 'f4_display': None, 'f4_structured': bytearray(b'\x80\x02N.')} sql_type = 'jsonb' value = 'vic 2020 (test), vic 2020 (test)' File "/usr/lib/python3/dist-packages/wcs/sql.py", line 1637, in store 1635 sql_dict['actions_roles_array'] = [str(x) for x in self.actions_roles if x] 1636 > 1637 sql_dict.update(self.get_sql_dict_from_data(self.data, self._formdef)) 1638 conn, cur = get_connection_and_cursor() 1639 if not self.id: locals: attr = 'prefilling_data' self = <_wcs_Vic-2020-Fiche 'vic-2020-fiche - n°None' id:None> sql_dict = {'user_id': '13', 'status': 'wf-recorded', 'page_no': 0, 'workflow_data': None, 'id_display': None, 'anonymised': None, 'tracking_code': None, 'backoffice_submission': False, 'submission_context': bytearray(b'\x80\x02}q\x00(X\x10\x00\x00\x00orig_object_typeq\x01X\x07\x00\x00\x00formdefq\x02X\x0f\x00\x00\x00orig_formdef_idq\x03X\x03\x00\x00\x00382q\x04X\x10\x00\x00\x00orig_formdata_idq\x05X\x03\x00\x00\x00125q\x06u.'), 'prefilling_data': None, 'submission_agent_id': None, 'submission_channel': None, 'criticality_level': 0, 'last_update_time': datetime.datetime(2020, 12, 23, 16, 22, 29), 'receipt_time': datetime.datetime(2020, 12, 23, 16, 22, 29), 'workflow_roles_array': None, 'workflow_roles': None, 'concerned_roles_array': ['4b5570b0f7c04a708016a8753ca33092'], 'actions_roles_array': ['4b5570b0f7c04a708016a8753ca33092']} File "/usr/lib/python3/dist-packages/wcs/qommon/substitution.py", line 28, in f 26 return func(*args, **kwargs) 27 finally: > 28 get_publisher().substitutions.invalidate_cache() 29 return f 30 locals: args = (<_wcs_Vic-2020-Fiche 'vic-2020-fiche - n°None' id:None>,) func = <function SqlDataMixin.store at 0x7fcd61b13598> kwargs = {} File "/usr/lib/python3/dist-packages/wcs/sql.py", line 435, in f 433 except psycopg2.Error: 434 get_connection().rollback() > 435 raise 436 return f 437 locals: args = (<_wcs_Vic-2020-Fiche 'vic-2020-fiche - n°None' id:None>,) func = <function invalidate_substitution_cache.<locals>.f at 0x7fcd61b13620> kwargs = {} File "/usr/lib/python3/dist-packages/wcs/wf/create_formdata.py", line 364, in perform 362 new_formdata.store() 363 new_formdata.perform_workflow() > 364 new_formdata.store() 365 366 if formdef.enable_tracking_codes: locals: formdata = <_wcs_Vic-2020 'vic 2020 (test) - n°382-125' id:125> formdef = <CardDef 'vic-2020-fiche' id:1> new_formdata = <_wcs_Vic-2020-Fiche 'vic-2020-fiche - n°None' id:None> self = <CreateCarddataWorkflowStatusItem 1> File "/usr/lib/python3/dist-packages/wcs/workflows.py", line 74, in perform_items 72 url = item.perform(formdata) or url 73 except AbortActionException: > 74 break 75 if formdata.status != old_status: 76 break locals: depth = 20 formdata = <_wcs_Vic-2020 'vic 2020 (test) - n°382-125' id:125> item = <CreateCarddataWorkflowStatusItem 1> items = [<CreateCarddataWorkflowStatusItem 1>] old_status = 'wf-5' url = None File "/usr/lib/python3/dist-packages/wcs/formdata.py", line 489, in perform_workflow 487 wf_status = self.get_status() 488 from wcs.workflows import perform_items > 489 url = perform_items(wf_status.items, self) 490 return url 491 locals: perform_items = <function perform_items at 0x7fcd64846e18> self = <_wcs_Vic-2020 'vic 2020 (test) - n°382-125' id:125> url = None wf_status = <WorkflowStatus 5 'créer fiche'> File "/usr/lib/python3/dist-packages/wcs/workflows.py", line 1604, in handle_form 1602 filled.status = evo.status 1603 filled.store() > 1604 url = filled.perform_workflow() 1605 if url: 1606 return url locals: action = <wcs.workflows.WorkflowGlobalAction object at 0x7fcd61702e80> evo = <wcs.formdata.Evolution object at 0x7fcd609716d8> filled = <_wcs_Vic-2020 'vic 2020 (test) - n°382-125' id:125> form = <wcs.qommon.form.Form object at 0x7fcd609684a8> item = <ChoiceWorkflowStatusItem 5> next_url = True self = <WorkflowStatus 3 'traitement'> user = <SqlUser 'Victor Claudet' id:13> File "/usr/lib/python3/dist-packages/wcs/formdata.py", line 579, in handle_workflow_form 577 if not wf_status: 578 return None > 579 return wf_status.handle_form(form, self, user) 580 581 def evaluate_live_workflow_form(self, user, form): locals: form = <wcs.qommon.form.Form object at 0x7fcd609684a8> self = <_wcs_Vic-2020 'vic 2020 (test) - n°382-125' id:125> user = <SqlUser 'Victor Claudet' id:13> wf_status = <WorkflowStatus 3 'traitement'> File "/usr/lib/python3/dist-packages/wcs/forms/common.py", line 616, in submit 614 current_status = self.filled.status 615 user = get_request().user > 616 next_url = self.filled.handle_workflow_form(user, form) 617 if next_url: 618 return next_url locals: current_status = 'wf-3' form = <wcs.qommon.form.Form object at 0x7fcd609684a8> self = <wcs.backoffice.management.FormBackOfficeStatusPage object at 0x7fcd60971518> user = <SqlUser 'Victor Claudet' id:13> File "/usr/lib/python3/dist-packages/wcs/forms/common.py", line 349, in check_submitted_form 347 if form.has_errors(): 348 return > 349 url = self.submit(form) 350 if url is None: 351 url = get_request().get_frontoffice_url() locals: form = <wcs.qommon.form.Form object at 0x7fcd609684a8> self = <wcs.backoffice.management.FormBackOfficeStatusPage object at 0x7fcd60971518> submit_button = <SubmitWidget at 7fcd60968400: button5> submit_button_name = 'button5' File "/usr/lib/python3/dist-packages/wcs/forms/common.py", line 537, in status 535 user = self.check_receiver() 536 form = self.get_workflow_form(user) > 537 response = self.check_submitted_form(form) 538 if response: 539 get_session().unmark_visited_object(self.filled) locals: form = <wcs.qommon.form.Form object at 0x7fcd609684a8> self = <wcs.backoffice.management.FormBackOfficeStatusPage object at 0x7fcd60971518> user = <SqlUser 'Victor Claudet' id:13> File "/usr/lib/python3/dist-packages/wcs/backoffice/management.py", line 2661, in _q_index 2659 2660 get_response().filter['sidebar'] = self.get_sidebar() > 2661 return self.status() 2662 2663 def receipt(self, *args, **kwargs): locals: self = <wcs.backoffice.management.FormBackOfficeStatusPage object at 0x7fcd60971518> File "/usr/lib/python3/dist-packages/quixote/directory.py", line 92, in _q_traverse 90 raise TraversalError 91 elif hasattr(obj, '__call__'): > 92 return obj() 93 else: 94 return obj locals: component = '' name = '_q_index' obj = <bound method FormBackOfficeStatusPage._q_index of <wcs.backoffice.management.FormBackOfficeStatusPage object at 0x7fcd60971518>> path = [] self = <wcs.backoffice.management.FormBackOfficeStatusPage object at 0x7fcd60971518> File "/usr/lib/python3/dist-packages/wcs/forms/common.py", line 762, in _q_traverse 760 get_response().breadcrumb.append( 761 (str(self.filled.id) + '/' , self.filled.get_display_id())) > 762 return super(FormStatusPage, self)._q_traverse(path) 763 764 def wfedit(self, action_id): locals: __class__ = <class 'wcs.forms.common.FormStatusPage'> path = [''] self = <wcs.backoffice.management.FormBackOfficeStatusPage object at 0x7fcd60971518> File "/usr/lib/python3/dist-packages/quixote/directory.py", line 88, in _q_traverse 86 if path: 87 if hasattr(obj, '_q_traverse'): > 88 return obj._q_traverse(path) 89 else: 90 raise TraversalError locals: component = '125' name = None obj = <wcs.backoffice.management.FormBackOfficeStatusPage object at 0x7fcd60971518> path = [''] self = <wcs.backoffice.management.FormPage object at 0x7fcd60979f98> File "/usr/lib/python3/dist-packages/quixote/directory.py", line 88, in _q_traverse 86 if path: 87 if hasattr(obj, '_q_traverse'): > 88 return obj._q_traverse(path) 89 else: 90 raise TraversalError locals: component = 'vic-2020' name = None obj = <wcs.backoffice.management.FormPage object at 0x7fcd60979f98> path = ['125', ''] self = <wcs.backoffice.management.ManagementDirectory object at 0x7fcd642990b8> File "/usr/lib/python3/dist-packages/wcs/backoffice/management.py", line 457, in _q_traverse 455 def _q_traverse(self, path): 456 get_response().breadcrumb.append(('management/', _('Management'))) > 457 return super(ManagementDirectory, self)._q_traverse(path) 458 459 def _q_index(self): locals: __class__ = <class 'wcs.backoffice.management.ManagementDirectory'> path = ['vic-2020', '125', ''] self = <wcs.backoffice.management.ManagementDirectory object at 0x7fcd642990b8> File "/usr/lib/python3/dist-packages/quixote/directory.py", line 88, in _q_traverse 86 if path: 87 if hasattr(obj, '_q_traverse'): > 88 return obj._q_traverse(path) 89 else: 90 raise TraversalError locals: component = 'management' name = None obj = <wcs.backoffice.management.ManagementDirectory object at 0x7fcd642990b8> path = ['vic-2020', '125', ''] self = <modules.backoffice.BackofficeRootDirectory object at 0x7fcd61a95dd8> File "/usr/lib/python3/dist-packages/quixote/directory.py", line 116, in _q_traverse 114 def _q_traverse(self, path): 115 self._q_access() > 116 return super(AccessControlled, self)._q_traverse(path) 117 118 locals: __class__ = <class 'quixote.directory.AccessControlled'> path = ['management', 'vic-2020', '125', ''] self = <modules.backoffice.BackofficeRootDirectory object at 0x7fcd61a95dd8> File "/usr/lib/python3/dist-packages/wcs/backoffice/root.py", line 88, in _q_traverse 86 # legacy /backoffice/categories/<...>, redirect. 87 return redirect('/backoffice/forms/' + '/'.join(path)) > 88 return super(RootDirectory, self)._q_traverse(path) 89 90 @classmethod locals: __class__ = <class 'wcs.backoffice.root.RootDirectory'> path = ['management', 'vic-2020', '125', ''] self = <modules.backoffice.BackofficeRootDirectory object at 0x7fcd61a95dd8> File "/usr/lib/python3/dist-packages/quixote/directory.py", line 88, in _q_traverse 86 if path: 87 if hasattr(obj, '_q_traverse'): > 88 return obj._q_traverse(path) 89 else: 90 raise TraversalError locals: component = 'backoffice' name = 'backoffice' obj = <modules.backoffice.BackofficeRootDirectory object at 0x7fcd61a95dd8> path = ['management', 'vic-2020', '125', ''] self = <modules.root.AlternateRootDirectory object at 0x7fcd61bdc4a8> File "/usr/lib/python3/dist-packages/auquotidien/modules/root.py", line 299, in _q_traverse 297 return FormsRootDirectory(cat)._q_traverse(path[1:]) 298 > 299 raise e 300 301 locals: path = ['backoffice', 'management', 'vic-2020', '125', ''] response = <wcs.qommon.http_response.HTTPResponse object at 0x7fcd60c12ac8> self = <modules.root.AlternateRootDirectory object at 0x7fcd61bdc4a8> File "/usr/lib/python3/dist-packages/quixote/publish.py", line 241, in try_publish 239 permanent=True) 240 components = path[1:].split('/') > 241 output = self.root_directory._q_traverse(components) 242 # The callable ran OK, commit any changes to the session 243 self.finish_successful_request() locals: allowed_methods = ['GET', 'HEAD', 'POST', 'PUT'] components = ['backoffice', 'management', 'vic-2020', '125', ''] method = 'POST' path = '/backoffice/management/vic-2020/125/' request = <wcs.compat.CompatHTTPRequest object at 0x7fcd60979390> self = <wcs.compat.CompatWcsPublisher object at 0x7fcd61bdc4e0> File "/usr/lib/python3/dist-packages/wcs/views.py", line 41, in get_context_data 39 get_publisher().session_manager.finish_successful_request() 40 self.quixote_response = get_request().response > 41 context.update(template.get_decorate_vars(body, get_response(), generate_breadcrumb=True)) 42 43 return context locals: __class__ = <class 'wcs.views.Backoffice'> context = {'view': <wcs.views.Backoffice object at 0x7fcd60c12f98>} kwargs = {} self = <wcs.views.Backoffice object at 0x7fcd60c12f98> File "/usr/lib/python3/dist-packages/wcs/compat.py", line 67, in get 65 if can_sentry(): 66 sentry_sdk.capture_exception(exc) > 67 context = {'body': get_publisher().finish_failed_request()} 68 self.quixote_response = get_request().response 69 locals: args = () exc = AttributeError("'SafeText' object has no attribute 'get'") kwargs = {} request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> self = <wcs.views.Backoffice object at 0x7fcd60c12f98> File "/usr/lib/python3/dist-packages/wcs/views.py", line 28, in post 26 27 def post(self, request, *args, **kwargs): > 28 return self.get(request, *args, **kwargs) 29 30 def get_context_data(self, **kwargs): locals: args = () kwargs = {} request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> self = <wcs.views.Backoffice object at 0x7fcd60c12f98> File "/usr/lib/python3/dist-packages/django/views/generic/base.py", line 88, in dispatch 86 else: 87 handler = self.http_method_not_allowed > 88 return handler(request, *args, **kwargs) 89 90 def http_method_not_allowed(self, request, *args, **kwargs): locals: args = () handler = <bound method Backoffice.post of <wcs.views.Backoffice object at 0x7fcd60c12f98>> kwargs = {} request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> self = <wcs.views.Backoffice object at 0x7fcd60c12f98> File "/usr/lib/python3/dist-packages/django/views/generic/base.py", line 68, in view 66 self.args = args 67 self.kwargs = kwargs > 68 return self.dispatch(request, *args, **kwargs) 69 view.view_class = cls 70 view.view_initkwargs = initkwargs locals: args = () cls = <class 'wcs.views.Backoffice'> initkwargs = {} kwargs = {} request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> self = <wcs.views.Backoffice object at 0x7fcd60c12f98> File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 185, in _get_response 183 wrapped_callback = self.make_view_atomic(callback) 184 try: > 185 response = wrapped_callback(request, *callback_args, **callback_kwargs) 186 except Exception as e: 187 response = self.process_exception_by_middleware(e, request) locals: callback = <function Backoffice at 0x7fcd61bd91e0> callback_args = () callback_kwargs = {} middleware_method = <function PrometheusStatsMiddleware.process_view at 0x7fcd634d17b8> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> resolver = <RegexURLResolver 'wcs.urls' (None:None) ^/> resolver_match = ResolverMatch(func=wcs.views.Backoffice, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[]) response = None self = <django.core.handlers.wsgi.WSGIHandler object at 0x7fcd63feaeb8> wrapped_callback = <function Backoffice at 0x7fcd61bd91e0> File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner 39 def inner(request): 40 try: > 41 response = get_response(request) 42 except Exception as exc: 43 response = response_for_exception(request, exc) locals: get_response = <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fcd63feaeb8>> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 140, in __call__ 138 response = self.process_request(request) 139 if not response: > 140 response = self.get_response(request) 141 if hasattr(self, 'process_response'): 142 response = self.process_response(request, response) locals: request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> response = None self = <hobo.middleware.stats.PrometheusStatsMiddleware object at 0x7fcd634b0ba8> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 72, in sentry_wrapped_method 70 span.set_tag("django.function_name", function_name) 71 span.set_tag("django.middleware_name", middleware_name) > 72 return old_method(*args, **kwargs) 73 74 return sentry_wrapped_method locals: DjangoIntegration = <class 'sentry_sdk.integrations.django.DjangoIntegration'> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) description = 'hobo.middleware.PrometheusStatsMiddleware.__call__' function_basename = '__call__' function_name = 'django.utils.deprecation.MiddlewareMixin.__call__' hub = <sentry_sdk.hub.Hub object at 0x7fcd60979320> integration = <sentry_sdk.integrations.django.DjangoIntegration object at 0x7fcd640e2588> kwargs = {} middleware_name = 'hobo.middleware.PrometheusStatsMiddleware' old_method = <bound method MiddlewareMixin.__call__ of <hobo.middleware.stats.PrometheusStatsMiddleware object at 0x7fcd634b0ba8>> span = <Span(transaction=None, trace_id='ca2c538f2028455aa9320b8e2f4c2927', span_id='b1205994be0f41ed', parent_span_id='8308b2396266622b', sampled=False)> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 101, in __call__ 99 if self._call_method is None: 100 self._call_method = _get_wrapped_method(self._inner.__call__) > 101 return self._call_method(*args, **kwargs) 102 103 if hasattr(middleware, "__name__"): locals: _get_wrapped_method = <function _wrap_middleware.<locals>._get_wrapped_method at 0x7fcd634d1730> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) kwargs = {} self = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd63feae80> File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner 39 def inner(request): 40 try: > 41 response = get_response(request) 42 except Exception as exc: 43 response = response_for_exception(request, exc) locals: get_response = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd63feae80> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 140, in __call__ 138 response = self.process_request(request) 139 if not response: > 140 response = self.get_response(request) 141 if hasattr(self, 'process_response'): 142 response = self.process_response(request, response) locals: request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> response = None self = <wcs.middleware.AfterJobsMiddleware object at 0x7fcd634d0978> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 72, in sentry_wrapped_method 70 span.set_tag("django.function_name", function_name) 71 span.set_tag("django.middleware_name", middleware_name) > 72 return old_method(*args, **kwargs) 73 74 return sentry_wrapped_method locals: DjangoIntegration = <class 'sentry_sdk.integrations.django.DjangoIntegration'> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) description = 'wcs.middleware.AfterJobsMiddleware.__call__' function_basename = '__call__' function_name = 'django.utils.deprecation.MiddlewareMixin.__call__' hub = <sentry_sdk.hub.Hub object at 0x7fcd60979320> integration = <sentry_sdk.integrations.django.DjangoIntegration object at 0x7fcd640e2588> kwargs = {} middleware_name = 'wcs.middleware.AfterJobsMiddleware' old_method = <bound method MiddlewareMixin.__call__ of <wcs.middleware.AfterJobsMiddleware object at 0x7fcd634d0978>> span = <Span(transaction=None, trace_id='ca2c538f2028455aa9320b8e2f4c2927', span_id='8308b2396266622b', parent_span_id='865bf0b1b178b0e5', sampled=False)> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 101, in __call__ 99 if self._call_method is None: 100 self._call_method = _get_wrapped_method(self._inner.__call__) > 101 return self._call_method(*args, **kwargs) 102 103 if hasattr(middleware, "__name__"): locals: _get_wrapped_method = <function _wrap_middleware.<locals>._get_wrapped_method at 0x7fcd634d1a60> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) kwargs = {} self = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd634d0940> File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner 39 def inner(request): 40 try: > 41 response = get_response(request) 42 except Exception as exc: 43 response = response_for_exception(request, exc) locals: get_response = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd634d0940> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 140, in __call__ 138 response = self.process_request(request) 139 if not response: > 140 response = self.get_response(request) 141 if hasattr(self, 'process_response'): 142 response = self.process_response(request, response) locals: request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> response = None self = <wcs.compat.PublishErrorMiddleware object at 0x7fcd634d0e10> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 72, in sentry_wrapped_method 70 span.set_tag("django.function_name", function_name) 71 span.set_tag("django.middleware_name", middleware_name) > 72 return old_method(*args, **kwargs) 73 74 return sentry_wrapped_method locals: DjangoIntegration = <class 'sentry_sdk.integrations.django.DjangoIntegration'> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) description = 'wcs.compat.PublishErrorMiddleware.__call__' function_basename = '__call__' function_name = 'django.utils.deprecation.MiddlewareMixin.__call__' hub = <sentry_sdk.hub.Hub object at 0x7fcd60979320> integration = <sentry_sdk.integrations.django.DjangoIntegration object at 0x7fcd640e2588> kwargs = {} middleware_name = 'wcs.compat.PublishErrorMiddleware' old_method = <bound method MiddlewareMixin.__call__ of <wcs.compat.PublishErrorMiddleware object at 0x7fcd634d0e10>> span = <Span(transaction=None, trace_id='ca2c538f2028455aa9320b8e2f4c2927', span_id='865bf0b1b178b0e5', parent_span_id='be8bd7f9386e8bff', sampled=False)> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 101, in __call__ 99 if self._call_method is None: 100 self._call_method = _get_wrapped_method(self._inner.__call__) > 101 return self._call_method(*args, **kwargs) 102 103 if hasattr(middleware, "__name__"): locals: _get_wrapped_method = <function _wrap_middleware.<locals>._get_wrapped_method at 0x7fcd634d1ea0> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) kwargs = {} self = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd634d0da0> File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner 39 def inner(request): 40 try: > 41 response = get_response(request) 42 except Exception as exc: 43 response = response_for_exception(request, exc) locals: get_response = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd634d0da0> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 140, in __call__ 138 response = self.process_request(request) 139 if not response: > 140 response = self.get_response(request) 141 if hasattr(self, 'process_response'): 142 response = self.process_response(request, response) locals: request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> response = None self = <django.middleware.clickjacking.XFrameOptionsMiddleware object at 0x7fcd634620b8> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 72, in sentry_wrapped_method 70 span.set_tag("django.function_name", function_name) 71 span.set_tag("django.middleware_name", middleware_name) > 72 return old_method(*args, **kwargs) 73 74 return sentry_wrapped_method locals: DjangoIntegration = <class 'sentry_sdk.integrations.django.DjangoIntegration'> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) description = 'django.middleware.clickjacking.XFrameOptionsMiddleware.__call__' function_basename = '__call__' function_name = 'django.utils.deprecation.MiddlewareMixin.__call__' hub = <sentry_sdk.hub.Hub object at 0x7fcd60979320> integration = <sentry_sdk.integrations.django.DjangoIntegration object at 0x7fcd640e2588> kwargs = {} middleware_name = 'django.middleware.clickjacking.XFrameOptionsMiddleware' old_method = <bound method MiddlewareMixin.__call__ of <django.middleware.clickjacking.XFrameOptionsMiddleware object at 0x7fcd634620b8>> span = <Span(transaction=None, trace_id='ca2c538f2028455aa9320b8e2f4c2927', span_id='be8bd7f9386e8bff', parent_span_id='b8be2924419870cd', sampled=False)> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 101, in __call__ 99 if self._call_method is None: 100 self._call_method = _get_wrapped_method(self._inner.__call__) > 101 return self._call_method(*args, **kwargs) 102 103 if hasattr(middleware, "__name__"): locals: _get_wrapped_method = <function _wrap_middleware.<locals>._get_wrapped_method at 0x7fcd63461268> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) kwargs = {} self = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd634d0f28> File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner 39 def inner(request): 40 try: > 41 response = get_response(request) 42 except Exception as exc: 43 response = response_for_exception(request, exc) locals: get_response = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd634d0f28> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 140, in __call__ 138 response = self.process_request(request) 139 if not response: > 140 response = self.get_response(request) 141 if hasattr(self, 'process_response'): 142 response = self.process_response(request, response) locals: request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> response = None self = <wcs.middleware.PublisherInitialisationMiddleware object at 0x7fcd63462240> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 72, in sentry_wrapped_method 70 span.set_tag("django.function_name", function_name) 71 span.set_tag("django.middleware_name", middleware_name) > 72 return old_method(*args, **kwargs) 73 74 return sentry_wrapped_method locals: DjangoIntegration = <class 'sentry_sdk.integrations.django.DjangoIntegration'> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) description = 'wcs.middleware.PublisherInitialisationMiddleware.__call__' function_basename = '__call__' function_name = 'django.utils.deprecation.MiddlewareMixin.__call__' hub = <sentry_sdk.hub.Hub object at 0x7fcd60979320> integration = <sentry_sdk.integrations.django.DjangoIntegration object at 0x7fcd640e2588> kwargs = {} middleware_name = 'wcs.middleware.PublisherInitialisationMiddleware' old_method = <bound method MiddlewareMixin.__call__ of <wcs.middleware.PublisherInitialisationMiddleware object at 0x7fcd63462240>> span = <Span(transaction=None, trace_id='ca2c538f2028455aa9320b8e2f4c2927', span_id='b8be2924419870cd', parent_span_id='8dd6bba9550c1b2d', sampled=False)> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 101, in __call__ 99 if self._call_method is None: 100 self._call_method = _get_wrapped_method(self._inner.__call__) > 101 return self._call_method(*args, **kwargs) 102 103 if hasattr(middleware, "__name__"): locals: _get_wrapped_method = <function _wrap_middleware.<locals>._get_wrapped_method at 0x7fcd63461620> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) kwargs = {} self = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd634621d0> File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner 39 def inner(request): 40 try: > 41 response = get_response(request) 42 except Exception as exc: 43 response = response_for_exception(request, exc) locals: get_response = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd634621d0> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 140, in __call__ 138 response = self.process_request(request) 139 if not response: > 140 response = self.get_response(request) 141 if hasattr(self, 'process_response'): 142 response = self.process_response(request, response) locals: request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> response = None self = <django.middleware.common.CommonMiddleware object at 0x7fcd634622e8> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 72, in sentry_wrapped_method 70 span.set_tag("django.function_name", function_name) 71 span.set_tag("django.middleware_name", middleware_name) > 72 return old_method(*args, **kwargs) 73 74 return sentry_wrapped_method locals: DjangoIntegration = <class 'sentry_sdk.integrations.django.DjangoIntegration'> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) description = 'django.middleware.common.CommonMiddleware.__call__' function_basename = '__call__' function_name = 'django.utils.deprecation.MiddlewareMixin.__call__' hub = <sentry_sdk.hub.Hub object at 0x7fcd60979320> integration = <sentry_sdk.integrations.django.DjangoIntegration object at 0x7fcd640e2588> kwargs = {} middleware_name = 'django.middleware.common.CommonMiddleware' old_method = <bound method MiddlewareMixin.__call__ of <django.middleware.common.CommonMiddleware object at 0x7fcd634622e8>> span = <Span(transaction=None, trace_id='ca2c538f2028455aa9320b8e2f4c2927', span_id='8dd6bba9550c1b2d', parent_span_id='ba16ca0157ea3038', sampled=False)> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 101, in __call__ 99 if self._call_method is None: 100 self._call_method = _get_wrapped_method(self._inner.__call__) > 101 return self._call_method(*args, **kwargs) 102 103 if hasattr(middleware, "__name__"): locals: _get_wrapped_method = <function _wrap_middleware.<locals>._get_wrapped_method at 0x7fcd634618c8> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) kwargs = {} self = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd63462278> File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner 39 def inner(request): 40 try: > 41 response = get_response(request) 42 except Exception as exc: 43 response = response_for_exception(request, exc) locals: get_response = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd63462278> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 140, in __call__ 138 response = self.process_request(request) 139 if not response: > 140 response = self.get_response(request) 141 if hasattr(self, 'process_response'): 142 response = self.process_response(request, response) locals: request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> response = None self = <hobo.middleware.cors.CORSMiddleware object at 0x7fcd63462908> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 72, in sentry_wrapped_method 70 span.set_tag("django.function_name", function_name) 71 span.set_tag("django.middleware_name", middleware_name) > 72 return old_method(*args, **kwargs) 73 74 return sentry_wrapped_method locals: DjangoIntegration = <class 'sentry_sdk.integrations.django.DjangoIntegration'> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) description = 'hobo.middleware.cors.CORSMiddleware.__call__' function_basename = '__call__' function_name = 'django.utils.deprecation.MiddlewareMixin.__call__' hub = <sentry_sdk.hub.Hub object at 0x7fcd60979320> integration = <sentry_sdk.integrations.django.DjangoIntegration object at 0x7fcd640e2588> kwargs = {} middleware_name = 'hobo.middleware.cors.CORSMiddleware' old_method = <bound method MiddlewareMixin.__call__ of <hobo.middleware.cors.CORSMiddleware object at 0x7fcd63462908>> span = <Span(transaction=None, trace_id='ca2c538f2028455aa9320b8e2f4c2927', span_id='ba16ca0157ea3038', parent_span_id='b39aa485426b2da4', sampled=False)> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 101, in __call__ 99 if self._call_method is None: 100 self._call_method = _get_wrapped_method(self._inner.__call__) > 101 return self._call_method(*args, **kwargs) 102 103 if hasattr(middleware, "__name__"): locals: _get_wrapped_method = <function _wrap_middleware.<locals>._get_wrapped_method at 0x7fcd634680d0> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) kwargs = {} self = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd63462898> File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner 39 def inner(request): 40 try: > 41 response = get_response(request) 42 except Exception as exc: 43 response = response_for_exception(request, exc) locals: get_response = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd63462898> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 140, in __call__ 138 response = self.process_request(request) 139 if not response: > 140 response = self.get_response(request) 141 if hasattr(self, 'process_response'): 142 response = self.process_response(request, response) locals: request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> response = None self = <hobo.middleware.version.VersionMiddleware object at 0x7fcd63462a90> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 72, in sentry_wrapped_method 70 span.set_tag("django.function_name", function_name) 71 span.set_tag("django.middleware_name", middleware_name) > 72 return old_method(*args, **kwargs) 73 74 return sentry_wrapped_method locals: DjangoIntegration = <class 'sentry_sdk.integrations.django.DjangoIntegration'> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) description = 'hobo.middleware.VersionMiddleware.__call__' function_basename = '__call__' function_name = 'django.utils.deprecation.MiddlewareMixin.__call__' hub = <sentry_sdk.hub.Hub object at 0x7fcd60979320> integration = <sentry_sdk.integrations.django.DjangoIntegration object at 0x7fcd640e2588> kwargs = {} middleware_name = 'hobo.middleware.VersionMiddleware' old_method = <bound method MiddlewareMixin.__call__ of <hobo.middleware.version.VersionMiddleware object at 0x7fcd63462a90>> span = <Span(transaction=None, trace_id='ca2c538f2028455aa9320b8e2f4c2927', span_id='b39aa485426b2da4', parent_span_id='9bb664c28e75375b', sampled=False)> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 101, in __call__ 99 if self._call_method is None: 100 self._call_method = _get_wrapped_method(self._inner.__call__) > 101 return self._call_method(*args, **kwargs) 102 103 if hasattr(middleware, "__name__"): locals: _get_wrapped_method = <function _wrap_middleware.<locals>._get_wrapped_method at 0x7fcd63468378> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) kwargs = {} self = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd63462a20> File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner 39 def inner(request): 40 try: > 41 response = get_response(request) 42 except Exception as exc: 43 response = response_for_exception(request, exc) locals: get_response = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd63462a20> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 140, in __call__ 138 response = self.process_request(request) 139 if not response: > 140 response = self.get_response(request) 141 if hasattr(self, 'process_response'): 142 response = self.process_response(request, response) locals: request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> response = None self = <hobo.middleware.xforwardedfor.XForwardedForMiddleware object at 0x7fcd63462cc0> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 72, in sentry_wrapped_method 70 span.set_tag("django.function_name", function_name) 71 span.set_tag("django.middleware_name", middleware_name) > 72 return old_method(*args, **kwargs) 73 74 return sentry_wrapped_method locals: DjangoIntegration = <class 'sentry_sdk.integrations.django.DjangoIntegration'> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) description = 'hobo.middleware.xforwardedfor.XForwardedForMiddleware.__call__' function_basename = '__call__' function_name = 'django.utils.deprecation.MiddlewareMixin.__call__' hub = <sentry_sdk.hub.Hub object at 0x7fcd60979320> integration = <sentry_sdk.integrations.django.DjangoIntegration object at 0x7fcd640e2588> kwargs = {} middleware_name = 'hobo.middleware.xforwardedfor.XForwardedForMiddleware' old_method = <bound method MiddlewareMixin.__call__ of <hobo.middleware.xforwardedfor.XForwardedForMiddleware object at 0x7fcd63462cc0>> span = <Span(transaction=None, trace_id='ca2c538f2028455aa9320b8e2f4c2927', span_id='9bb664c28e75375b', parent_span_id='a06f6a845f901031', sampled=False)> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 101, in __call__ 99 if self._call_method is None: 100 self._call_method = _get_wrapped_method(self._inner.__call__) > 101 return self._call_method(*args, **kwargs) 102 103 if hasattr(middleware, "__name__"): locals: _get_wrapped_method = <function _wrap_middleware.<locals>._get_wrapped_method at 0x7fcd63468620> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) kwargs = {} self = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd63462ba8> File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner 39 def inner(request): 40 try: > 41 response = get_response(request) 42 except Exception as exc: 43 response = response_for_exception(request, exc) locals: get_response = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd63462ba8> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 140, in __call__ 138 response = self.process_request(request) 139 if not response: > 140 response = self.get_response(request) 141 if hasattr(self, 'process_response'): 142 response = self.process_response(request, response) locals: request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> response = None self = <hobo.middleware.utils.StoreRequestMiddleware object at 0x7fcd63462e48> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 72, in sentry_wrapped_method 70 span.set_tag("django.function_name", function_name) 71 span.set_tag("django.middleware_name", middleware_name) > 72 return old_method(*args, **kwargs) 73 74 return sentry_wrapped_method locals: DjangoIntegration = <class 'sentry_sdk.integrations.django.DjangoIntegration'> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) description = 'hobo.middleware.utils.StoreRequestMiddleware.__call__' function_basename = '__call__' function_name = 'django.utils.deprecation.MiddlewareMixin.__call__' hub = <sentry_sdk.hub.Hub object at 0x7fcd60979320> integration = <sentry_sdk.integrations.django.DjangoIntegration object at 0x7fcd640e2588> kwargs = {} middleware_name = 'hobo.middleware.utils.StoreRequestMiddleware' old_method = <bound method MiddlewareMixin.__call__ of <hobo.middleware.utils.StoreRequestMiddleware object at 0x7fcd63462e48>> span = <Span(transaction=None, trace_id='ca2c538f2028455aa9320b8e2f4c2927', span_id='a06f6a845f901031', parent_span_id='a2c5043de310c44d', sampled=False)> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 101, in __call__ 99 if self._call_method is None: 100 self._call_method = _get_wrapped_method(self._inner.__call__) > 101 return self._call_method(*args, **kwargs) 102 103 if hasattr(middleware, "__name__"): locals: _get_wrapped_method = <function _wrap_middleware.<locals>._get_wrapped_method at 0x7fcd634689d8> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) kwargs = {} self = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd63462dd8> File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner 39 def inner(request): 40 try: > 41 response = get_response(request) 42 except Exception as exc: 43 response = response_for_exception(request, exc) locals: get_response = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd63462dd8> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 140, in __call__ 138 response = self.process_request(request) 139 if not response: > 140 response = self.get_response(request) 141 if hasattr(self, 'process_response'): 142 response = self.process_response(request, response) locals: request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> response = None self = <hobo.middleware.cors.CORSMiddleware object at 0x7fcd63462fd0> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 72, in sentry_wrapped_method 70 span.set_tag("django.function_name", function_name) 71 span.set_tag("django.middleware_name", middleware_name) > 72 return old_method(*args, **kwargs) 73 74 return sentry_wrapped_method locals: DjangoIntegration = <class 'sentry_sdk.integrations.django.DjangoIntegration'> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) description = 'hobo.middleware.cors.CORSMiddleware.__call__' function_basename = '__call__' function_name = 'django.utils.deprecation.MiddlewareMixin.__call__' hub = <sentry_sdk.hub.Hub object at 0x7fcd60979320> integration = <sentry_sdk.integrations.django.DjangoIntegration object at 0x7fcd640e2588> kwargs = {} middleware_name = 'hobo.middleware.cors.CORSMiddleware' old_method = <bound method MiddlewareMixin.__call__ of <hobo.middleware.cors.CORSMiddleware object at 0x7fcd63462fd0>> span = <Span(transaction=None, trace_id='ca2c538f2028455aa9320b8e2f4c2927', span_id='a2c5043de310c44d', parent_span_id='a835aac27797b5ba', sampled=False)> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 101, in __call__ 99 if self._call_method is None: 100 self._call_method = _get_wrapped_method(self._inner.__call__) > 101 return self._call_method(*args, **kwargs) 102 103 if hasattr(middleware, "__name__"): locals: _get_wrapped_method = <function _wrap_middleware.<locals>._get_wrapped_method at 0x7fcd63468c80> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) kwargs = {} self = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd63462f60> File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner 39 def inner(request): 40 try: > 41 response = get_response(request) 42 except Exception as exc: 43 response = response_for_exception(request, exc) locals: get_response = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd63462f60> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 140, in __call__ 138 response = self.process_request(request) 139 if not response: > 140 response = self.get_response(request) 141 if hasattr(self, 'process_response'): 142 response = self.process_response(request, response) locals: request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> response = None self = <hobo.middleware.version.VersionMiddleware object at 0x7fcd6346c198> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 72, in sentry_wrapped_method 70 span.set_tag("django.function_name", function_name) 71 span.set_tag("django.middleware_name", middleware_name) > 72 return old_method(*args, **kwargs) 73 74 return sentry_wrapped_method locals: DjangoIntegration = <class 'sentry_sdk.integrations.django.DjangoIntegration'> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) description = 'hobo.middleware.VersionMiddleware.__call__' function_basename = '__call__' function_name = 'django.utils.deprecation.MiddlewareMixin.__call__' hub = <sentry_sdk.hub.Hub object at 0x7fcd60979320> integration = <sentry_sdk.integrations.django.DjangoIntegration object at 0x7fcd640e2588> kwargs = {} middleware_name = 'hobo.middleware.VersionMiddleware' old_method = <bound method MiddlewareMixin.__call__ of <hobo.middleware.version.VersionMiddleware object at 0x7fcd6346c198>> span = <Span(transaction=None, trace_id='ca2c538f2028455aa9320b8e2f4c2927', span_id='a835aac27797b5ba', parent_span_id='a1571b0b2c680f89', sampled=False)> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 101, in __call__ 99 if self._call_method is None: 100 self._call_method = _get_wrapped_method(self._inner.__call__) > 101 return self._call_method(*args, **kwargs) 102 103 if hasattr(middleware, "__name__"): locals: _get_wrapped_method = <function _wrap_middleware.<locals>._get_wrapped_method at 0x7fcd63468f28> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) kwargs = {} self = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd6346c128> File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner 39 def inner(request): 40 try: > 41 response = get_response(request) 42 except Exception as exc: 43 response = response_for_exception(request, exc) locals: get_response = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd6346c128> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 140, in __call__ 138 response = self.process_request(request) 139 if not response: > 140 response = self.get_response(request) 141 if hasattr(self, 'process_response'): 142 response = self.process_response(request, response) locals: request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> response = None self = <hobo.middleware.xforwardedfor.XForwardedForMiddleware object at 0x7fcd6346c320> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 72, in sentry_wrapped_method 70 span.set_tag("django.function_name", function_name) 71 span.set_tag("django.middleware_name", middleware_name) > 72 return old_method(*args, **kwargs) 73 74 return sentry_wrapped_method locals: DjangoIntegration = <class 'sentry_sdk.integrations.django.DjangoIntegration'> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) description = 'hobo.middleware.xforwardedfor.XForwardedForMiddleware.__call__' function_basename = '__call__' function_name = 'django.utils.deprecation.MiddlewareMixin.__call__' hub = <sentry_sdk.hub.Hub object at 0x7fcd60979320> integration = <sentry_sdk.integrations.django.DjangoIntegration object at 0x7fcd640e2588> kwargs = {} middleware_name = 'hobo.middleware.xforwardedfor.XForwardedForMiddleware' old_method = <bound method MiddlewareMixin.__call__ of <hobo.middleware.xforwardedfor.XForwardedForMiddleware object at 0x7fcd6346c320>> span = <Span(transaction=None, trace_id='ca2c538f2028455aa9320b8e2f4c2927', span_id='a1571b0b2c680f89', parent_span_id='9d9db159e4481b5c', sampled=False)> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 101, in __call__ 99 if self._call_method is None: 100 self._call_method = _get_wrapped_method(self._inner.__call__) > 101 return self._call_method(*args, **kwargs) 102 103 if hasattr(middleware, "__name__"): locals: _get_wrapped_method = <function _wrap_middleware.<locals>._get_wrapped_method at 0x7fcd6346d268> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) kwargs = {} self = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd6346c2b0> File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner 39 def inner(request): 40 try: > 41 response = get_response(request) 42 except Exception as exc: 43 response = response_for_exception(request, exc) locals: get_response = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd6346c2b0> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 140, in __call__ 138 response = self.process_request(request) 139 if not response: > 140 response = self.get_response(request) 141 if hasattr(self, 'process_response'): 142 response = self.process_response(request, response) locals: request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> response = None self = <hobo.middleware.utils.StoreRequestMiddleware object at 0x7fcd6346c470> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 72, in sentry_wrapped_method 70 span.set_tag("django.function_name", function_name) 71 span.set_tag("django.middleware_name", middleware_name) > 72 return old_method(*args, **kwargs) 73 74 return sentry_wrapped_method locals: DjangoIntegration = <class 'sentry_sdk.integrations.django.DjangoIntegration'> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) description = 'hobo.middleware.utils.StoreRequestMiddleware.__call__' function_basename = '__call__' function_name = 'django.utils.deprecation.MiddlewareMixin.__call__' hub = <sentry_sdk.hub.Hub object at 0x7fcd60979320> integration = <sentry_sdk.integrations.django.DjangoIntegration object at 0x7fcd640e2588> kwargs = {} middleware_name = 'hobo.middleware.utils.StoreRequestMiddleware' old_method = <bound method MiddlewareMixin.__call__ of <hobo.middleware.utils.StoreRequestMiddleware object at 0x7fcd6346c470>> span = <Span(transaction=None, trace_id='ca2c538f2028455aa9320b8e2f4c2927', span_id='9d9db159e4481b5c', parent_span_id='b950003c131e2f45', sampled=False)> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/middleware.py", line 101, in __call__ 99 if self._call_method is None: 100 self._call_method = _get_wrapped_method(self._inner.__call__) > 101 return self._call_method(*args, **kwargs) 102 103 if hasattr(middleware, "__name__"): locals: _get_wrapped_method = <function _wrap_middleware.<locals>._get_wrapped_method at 0x7fcd6346d510> args = (<WSGIRequest: POST '/backoffice/management/vic-2020/125/'>,) kwargs = {} self = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd6346c400> File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner 39 def inner(request): 40 try: > 41 response = get_response(request) 42 except Exception as exc: 43 response = response_for_exception(request, exc) locals: get_response = <sentry_sdk.integrations.django.middleware._wrap_middleware.<locals>.SentryWrappingMiddleware object at 0x7fcd6346c400> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 124, in get_response 122 set_urlconf(settings.ROOT_URLCONF) 123 > 124 response = self._middleware_chain(request) 125 126 # This block is only needed for legacy MIDDLEWARE_CLASSES; if locals: request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> self = <django.core.handlers.wsgi.WSGIHandler object at 0x7fcd63feaeb8> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/__init__.py", line 139, in sentry_patched_get_response 137 _make_event_processor(weakref.ref(request), integration) 138 ) > 139 return old_get_response(self, request) 140 141 BaseHandler.get_response = sentry_patched_get_response locals: hub = <sentry_sdk.hub.Hub object at 0x7fcd60979320> integration = <sentry_sdk.integrations.django.DjangoIntegration object at 0x7fcd640e2588> old_get_response = <function BaseHandler.get_response at 0x7fcd641bd840> request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> scope = <Scope id=0x7fcd6197c288 name=wsgi> self = <django.core.handlers.wsgi.WSGIHandler object at 0x7fcd63feaeb8> File "/usr/lib/python3/dist-packages/django/core/handlers/wsgi.py", line 157, in __call__ 155 signals.request_started.send(sender=self.__class__, environ=environ) 156 request = self.request_class(environ) > 157 response = self.get_response(request) 158 159 response._handler_class = self.__class__ locals: environ = {'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/backoffice/management/vic-2020/125/', 'PATH_INFO': '/backoffice/management/vic-2020/125/', 'QUERY_STRING': '', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SCRIPT_NAME': '', 'SERVER_NAME': 'wcs', 'SERVER_PORT': '80', 'REMOTE_ADDR': '78.217.6.136', 'HTTP_HOST': 'demarches-publik.entrouvert.com', 'HTTP_X_FORWARDED_SSL': 'on', 'HTTP_X_FORWARDED_PROTOCOL': 'ssl', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '78.217.6.136', 'HTTP_X_FORWARDED_FOR': '78.217.6.136, 78.217.6.136', 'HTTP_CONNECTION': 'close', 'CONTENT_LENGTH': '191', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE': 'fr,en-US;q=0.7,en;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br', 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------19363661813087494685354195951', 'HTTP_ORIGIN': 'https://demarches-publik.entrouvert.com', 'HTTP_REFERER': 'https://demarches-publik.entrouvert.com/backoffice/management/vic-2020/125/', 'HTTP_COOKIE': 'publik_portal_agent_url=https%3A%2F%2Fportail-agent-publik.entrouvert.com%2F; publik_portal_agent_title=Portail%20agent; a2-opened-session-d6ee55=1; sessionid-wcs-7ef3cb="9T_q9goSsF9olDQ4NNACFQ"; sessionid-wcs-7ef3cb-passive-auth-tried="1"', 'HTTP_UPGRADE_INSECURE_REQUESTS': '1', 'HTTP_X_PUBLIK_CLUSTER_BACKEND': 'wcs-balancer', 'wsgi.input': <uwsgi._Input object at 0x7fcd61648c48>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.version': (1, 0), 'wsgi.errors': <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>, 'wsgi.run_once': False, 'wsgi.multithread': False, 'wsgi.multiprocess': True, 'wsgi.url_scheme': 'https', 'uwsgi.version': b'2.0.18-debian', 'uwsgi.node': b'wcs'} request = <WSGIRequest: POST '/backoffice/management/vic-2020/125/'> self = <django.core.handlers.wsgi.WSGIHandler object at 0x7fcd63feaeb8> start_response = functools.partial(<function _sentry_start_response at 0x7fcd63fd4730>, <built-in function uwsgi_spit>, <Span(transaction='/backoffice/', trace_id='ca2c538f2028455aa9320b8e2f4c2927', span_id='b950003c131e2f45', parent_span_id=None, sampled=False)>) File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/wsgi.py", line 116, in __call__ 114 environ, 115 functools.partial( > 116 _sentry_start_response, start_response, span 117 ), 118 ) locals: environ = {'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/backoffice/management/vic-2020/125/', 'PATH_INFO': '/backoffice/management/vic-2020/125/', 'QUERY_STRING': '', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SCRIPT_NAME': '', 'SERVER_NAME': 'wcs', 'SERVER_PORT': '80', 'REMOTE_ADDR': '78.217.6.136', 'HTTP_HOST': 'demarches-publik.entrouvert.com', 'HTTP_X_FORWARDED_SSL': 'on', 'HTTP_X_FORWARDED_PROTOCOL': 'ssl', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '78.217.6.136', 'HTTP_X_FORWARDED_FOR': '78.217.6.136, 78.217.6.136', 'HTTP_CONNECTION': 'close', 'CONTENT_LENGTH': '191', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE': 'fr,en-US;q=0.7,en;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br', 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------19363661813087494685354195951', 'HTTP_ORIGIN': 'https://demarches-publik.entrouvert.com', 'HTTP_REFERER': 'https://demarches-publik.entrouvert.com/backoffice/management/vic-2020/125/', 'HTTP_COOKIE': 'publik_portal_agent_url=https%3A%2F%2Fportail-agent-publik.entrouvert.com%2F; publik_portal_agent_title=Portail%20agent; a2-opened-session-d6ee55=1; sessionid-wcs-7ef3cb="9T_q9goSsF9olDQ4NNACFQ"; sessionid-wcs-7ef3cb-passive-auth-tried="1"', 'HTTP_UPGRADE_INSECURE_REQUESTS': '1', 'HTTP_X_PUBLIK_CLUSTER_BACKEND': 'wcs-balancer', 'wsgi.input': <uwsgi._Input object at 0x7fcd61648c48>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.version': (1, 0), 'wsgi.errors': <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>, 'wsgi.run_once': False, 'wsgi.multithread': False, 'wsgi.multiprocess': True, 'wsgi.url_scheme': 'https', 'uwsgi.version': b'2.0.18-debian', 'uwsgi.node': b'wcs'} hub = <sentry_sdk.hub.Hub object at 0x7fcd60979320> scope = <Scope id=0x7fcd6197c288 name=wsgi> self = <sentry_sdk.integrations.wsgi.SentryWsgiMiddleware object at 0x7fcd61a71b88> span = <Span(transaction='/backoffice/', trace_id='ca2c538f2028455aa9320b8e2f4c2927', span_id='b950003c131e2f45', parent_span_id=None, sampled=False)> start_response = <built-in function uwsgi_spit> File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/django/__init__.py", line 107, in sentry_patched_wsgi_handler 105 bound_old_app = old_app.__get__(self, WSGIHandler) 106 > 107 return SentryWsgiMiddleware(bound_old_app)(environ, start_response) 108 109 WSGIHandler.__call__ = sentry_patched_wsgi_handler locals: WSGIHandler = <class 'django.core.handlers.wsgi.WSGIHandler'> bound_old_app = <bound method WSGIHandler.__call__ of <django.core.handlers.wsgi.WSGIHandler object at 0x7fcd63feaeb8>> environ = {'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/backoffice/management/vic-2020/125/', 'PATH_INFO': '/backoffice/management/vic-2020/125/', 'QUERY_STRING': '', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SCRIPT_NAME': '', 'SERVER_NAME': 'wcs', 'SERVER_PORT': '80', 'REMOTE_ADDR': '78.217.6.136', 'HTTP_HOST': 'demarches-publik.entrouvert.com', 'HTTP_X_FORWARDED_SSL': 'on', 'HTTP_X_FORWARDED_PROTOCOL': 'ssl', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '78.217.6.136', 'HTTP_X_FORWARDED_FOR': '78.217.6.136, 78.217.6.136', 'HTTP_CONNECTION': 'close', 'CONTENT_LENGTH': '191', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE': 'fr,en-US;q=0.7,en;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br', 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------19363661813087494685354195951', 'HTTP_ORIGIN': 'https://demarches-publik.entrouvert.com', 'HTTP_REFERER': 'https://demarches-publik.entrouvert.com/backoffice/management/vic-2020/125/', 'HTTP_COOKIE': 'publik_portal_agent_url=https%3A%2F%2Fportail-agent-publik.entrouvert.com%2F; publik_portal_agent_title=Portail%20agent; a2-opened-session-d6ee55=1; sessionid-wcs-7ef3cb="9T_q9goSsF9olDQ4NNACFQ"; sessionid-wcs-7ef3cb-passive-auth-tried="1"', 'HTTP_UPGRADE_INSECURE_REQUESTS': '1', 'HTTP_X_PUBLIK_CLUSTER_BACKEND': 'wcs-balancer', 'wsgi.input': <uwsgi._Input object at 0x7fcd61648c48>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.version': (1, 0), 'wsgi.errors': <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>, 'wsgi.run_once': False, 'wsgi.multithread': False, 'wsgi.multiprocess': True, 'wsgi.url_scheme': 'https', 'uwsgi.version': b'2.0.18-debian', 'uwsgi.node': b'wcs'} old_app = <function WSGIHandler.__call__ at 0x7fcd641be158> self = <django.core.handlers.wsgi.WSGIHandler object at 0x7fcd63feaeb8> start_response = <built-in function uwsgi_spit> Form: button5 'créer fiche bloc' Cookies: a2-opened-session-d6ee55 '1' publik_portal_agent_title 'Portail%20agent' publik_portal_agent_url 'https%3A%2F%2Fportail-agent-publik.entrouvert.com%2F' sessionid-wcs-7ef3cb '9T_q9goSsF9olDQ4NNACFQ' sessionid-wcs-7ef3cb-passive-auth-tried '1' Environment: CONTENT_LENGTH '191' CONTENT_TYPE 'multipart/form-data; boundary=---------------------------19363661813087494685354195951' HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' HTTP_ACCEPT_ENCODING 'gzip, deflate, br' HTTP_ACCEPT_LANGUAGE 'fr,en-US;q=0.7,en;q=0.3' HTTP_CONNECTION 'close' HTTP_COOKIE 'publik_portal_agent_url=https%3A%2F%2Fportail-agent-publik.entrouvert.com%2F; publik_portal_agent_title=Portail%20agent; a2-opened-session-d6ee55=1; sessionid-wcs-7ef3cb="9T_q9goSsF9olDQ4NNACFQ"; sessionid-wcs-7ef3cb-passive-auth-tried="1"' HTTP_HOST 'demarches-publik.entrouvert.com' HTTP_ORIGIN 'https://demarches-publik.entrouvert.com' HTTP_REFERER 'https://demarches-publik.entrouvert.com/backoffice/management/vic-2020/125/' HTTP_UPGRADE_INSECURE_REQUESTS '1' HTTP_USER_AGENT 'Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0' HTTP_X_FORWARDED_FOR '78.217.6.136, 78.217.6.136' HTTP_X_FORWARDED_PROTO 'https' HTTP_X_FORWARDED_PROTOCOL 'ssl' HTTP_X_FORWARDED_SSL 'on' HTTP_X_PUBLIK_CLUSTER_BACKEND 'wcs-balancer' HTTP_X_REAL_IP '78.217.6.136' PATH_INFO '/backoffice/management/vic-2020/125/' QUERY_STRING '' REMOTE_ADDR '78.217.6.136' REMOTE_USER '13' REQUEST_METHOD 'POST' REQUEST_URI '/backoffice/management/vic-2020/125/' SCRIPT_NAME '' SERVER_NAME 'wcs' SERVER_PORT '80' SERVER_PROTOCOL 'HTTP/1.0' uwsgi.node b'wcs' uwsgi.version b'2.0.18-debian' wsgi.errors <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'> wsgi.file_wrapper <built-in function uwsgi_sendfile> wsgi.input <uwsgi._Input object at 0x7fcd61648c48> wsgi.multiprocess True wsgi.multithread False wsgi.run_once False wsgi.url_scheme 'https' wsgi.version (1, 0)
Mis à jour par Frédéric Péters il y a plus de 3 ans
- Statut changé de Nouveau à Fermé
C'est dans les nouveautés de la prochaine version, #41847.
Mis à jour par Frédéric Péters il y a plus de 3 ans
- Lié à Development #41847: modifier une donnée de traitement de type fichier ajouté