Issue 8047

Title
Trytond serving sao request throws An AttributeError of NotImplemented object has no attribute 'headers'
Priority
bug
Status
resolved
Nosy list
ced, nicoe, nzaniela, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2019-01-25.11:35:51 by nzaniela, last changed 30 months ago by roundup-bot.

Messages

New changeset a2be46f793cc by Cédric Krier in branch 'default':
Add Access-Control headers only on Response
https://hg.tryton.org/tryton-env/rev/a2be46f793cc
New changeset e05af58237dd by Cédric Krier in branch 'default':
Add Access-Control headers only on Response
https://hg.tryton.org/trytond/rev/e05af58237dd
Author: [hidden] (nzaniela)
Date: 2019-01-28.15:38:48
Tested the review and on default branch and  the  error is  fixed
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2019-01-27.01:12:29
Here is review49761002 which should fix the problem.
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2019-01-27.01:06:27
Please do no assign issue to others.
Author: [hidden] (nzaniela)
Date: 2019-01-25.12:16:23
Below i the traceback


File "/VIRTUALENV_PROJECTS/garage/lib/python3.7/site-packages/werkzeug/serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "/home/nzaniela/Garage/trytond/trytond/wsgi.py", line 149, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/nzaniela/Garage/trytond/trytond/wsgi.py", line 155, in __call__
    return self.app(environ, start_response)
  File "/home/nzaniela/Garage/trytond/trytond/wsgi.py", line 134, in wsgi_app
    response.headers['Access-Control-Allow-Origin'] = origin
AttributeError: 'NotImplemented' object has no attribute 'headers'
History
Date User Action Args
2019-01-30 10:08:02roundup-botsetmessages: + msg46599
2019-01-30 10:07:53roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg46598
2019-01-28 15:38:48nzanielasetmessages: + msg46561
2019-01-28 15:35:25pokolisetstatus: resolved -> testing
2019-01-28 14:42:40nzanielasetstatus: testing -> resolved
2019-01-27 01:37:48reviewbotsetnosy: + reviewbot
messages: + msg46552
2019-01-27 01:12:30cedsetstatus: in-progress -> testing
reviews: 49761002
messages: + msg46551
keyword: + review
2019-01-27 01:06:27cedsetstatus: chatting -> in-progress
assignedto: nicoe -> ced
messages: + msg46548
nosy: + ced
2019-01-25 12:16:23nzanielasetstatus: unread -> chatting
nosy: + nzaniela
messages: + msg46254
2019-01-25 11:58:12nzanielasettitle: response.headers['Access-Control-Allow-Origin'] = origin AttributeError: 'NotImplemented' object has no attribute 'headers' -> Trytond serving sao request throws An AttributeError of NotImplemented object has no attribute 'headers'
2019-01-25 11:35:51nzanielacreate