Webfrontend #864

bug in registration of frontend/backend resource

Added by Alexander Blum over 2 years ago. Updated about 2 years ago.

Status:Vermeintlich GelöstStart date:
Priority:DringendDue date:
Assignee:-% Done:

0%

Category:-Estimated time:1.00 h
Target version:Repertoire 2) Testing phase II

Description

verification of a changed email address only works after logging out, using the frontend ressource. This again seems to be an issue with missing ressouce permissions. I tried to replicate ProfileResource for verify_email without success. (Not even understanding why ProfileResource is in portal while the view is in repertoire.)

portal_1 | File "/usr/local/lib/python2.7/dist-packages/waitress/task.py", line 169, in service
portal_1 | self.execute()
portal_1 | File "/usr/local/lib/python2.7/dist-packages/waitress/task.py", line 399, in execute
portal_1 | app_iter = self.channel.server.application(env, start_response)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/router.py", line 270, in __call__
portal_1 | response = self.execution_policy(environ, self)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/router.py", line 278, in default_execution_policy
portal_1 | return request.invoke_exception_view(reraise=True)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/view.py", line 755, in invoke_exception_view
portal_1 | reraise_(*exc_info)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/router.py", line 276, in default_execution_policy
portal_1 | return router.invoke_request(request)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/router.py", line 249, in invoke_request
portal_1 | response = handle_request(request)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/tweens.py", line 41, in excview_tween
portal_1 | response = _error_handler(request, exc)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/tweens.py", line 16, in _error_handler
portal_1 | reraise(*exc_info)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/tweens.py", line 39, in excview_tween
portal_1 | response = handler(request)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/router.py", line 156, in handle_request
portal_1 | view_name
portal_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/view.py", line 642, in _call_view
portal_1 | response = view_callable(context, request)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/viewderivers.py", line 301, in secured_view
portal_1 | return view(context, request)
portal_1 | File "/ado/src/collecting_society.portal/collecting_society_portal/models/base.py", line 197, in wrapper
portal_1 | result = func(*args, **kwargs)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/viewderivers.py", line 410, in viewresult_to_response
portal_1 | result = view(context, request)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/viewderivers.py", line 138, in _class_view
portal_1 | response = getattr(inst, attr)()
portal_1 | File "/ado/src/collecting_society.portal.repertoire/collecting_society_portal_repertoire/views/backend.py", line 86, in verify_email
portal_1 | web_user.save()
portal_1 | File "/ado/src/trytond/trytond/model/modelstorage.py", line 1420, in save
portal_1 | self.write([self], save_values)
portal_1 | File "/ado/src/trytond/trytond/model/modelsql.py", line 801, in write
portal_1 | where=red_sql))
portal_1 | File "/ado/src/trytond/trytond/backend/postgresql/database.py", line 315, in execute
portal_1 | return self.cursor.execute(sql, params)
portal_1 | InternalError: cannot execute UPDATE in a read-only transaction


Related issues

Related to collecting_society - Webfrontend #684: Adjust verify email Neu

History

#1 Updated by Alexander Blum over 2 years ago

#2 Updated by Alexander Blum over 2 years ago

#3 Updated by Alexander Blum over 2 years ago

  • Duplicates deleted (Userfeedback #803: Profil: Email Änderung in der engl. version)

#4 Updated by Alexander Blum over 2 years ago

  • Priority changed from Normal to Hoch

#5 Updated by Alexander Blum over 2 years ago

  • Tracker changed from Unterstützung to Webfrontend

#6 Updated by Alexander Blum over 2 years ago

  • Priority changed from Hoch to Dringend

#7 Updated by Thomas Mielke over 2 years ago

  • Status changed from Neu to Vermeintlich Gelöst

#8 Updated by Alexander Blum about 2 years ago

  • Target version changed from 2) Testing phase II to Repertoire 2) Testing phase II

#9 Updated by Alexander Blum about 2 years ago

  • Project changed from repertoire to collecting_society

Also available in: Atom PDF