← Back to team overview

openerp-india team mailing list archive

[Bug 1213905] [NEW] [trunk]can't able to download attachment via in Inbox

 

Public bug reported:

Try with latest trunk any with runbot or localhost,
Go to Messaging > Inbox > click on any attachement , It gives error :

2013-08-19 12:25:08,105 3268 ERROR trnk openerp.addons.web.http: An exception occured during an http request
Traceback (most recent call last):
  File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 414, in dispatch
    r = self._call_function(**self.params)
  File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 174, in _call_function
    return self.func(*args, **kwargs)
  File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 1048, in nfunc
    return func(*args, **kwargs)
  File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 507, in <lambda>
    return lambda self, *args, **kwargs: nv(self, request, *args, **kwargs)
  File "/home/tch/workspace/rdtools/addons/trunk/mail/controllers/main.py", line 24, in download_attachment
    ('Content-Disposition', content_disposition(filename, req))])
TypeError: content_disposition() takes exactly 1 argument (2 given)
2013-08-19 12:25:08,107 3268 INFO trnk werkzeug: 127.0.0.1 - - [19/Aug/2013 12:25:08] "GET /mail/download_attachment?model=mail.message&id=7&method=download_attachment&attachment_id=3 HTTP/1.1" 500 -

Thank you.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Summary changed:

- can't able to download attach document via in Inbox
+ can't able to download attachment via in Inbox

** Summary changed:

- can't able to download attachment via in Inbox
+ [trunk]can't able to download attachment via in Inbox

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1213905

Title:
  [trunk]can't able to download attachment via in Inbox

Status in OpenERP Addons (modules):
  New

Bug description:
  Try with latest trunk any with runbot or localhost,
  Go to Messaging > Inbox > click on any attachement , It gives error :

  2013-08-19 12:25:08,105 3268 ERROR trnk openerp.addons.web.http: An exception occured during an http request
  Traceback (most recent call last):
    File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 414, in dispatch
      r = self._call_function(**self.params)
    File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 174, in _call_function
      return self.func(*args, **kwargs)
    File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 1048, in nfunc
      return func(*args, **kwargs)
    File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 507, in <lambda>
      return lambda self, *args, **kwargs: nv(self, request, *args, **kwargs)
    File "/home/tch/workspace/rdtools/addons/trunk/mail/controllers/main.py", line 24, in download_attachment
      ('Content-Disposition', content_disposition(filename, req))])
  TypeError: content_disposition() takes exactly 1 argument (2 given)
  2013-08-19 12:25:08,107 3268 INFO trnk werkzeug: 127.0.0.1 - - [19/Aug/2013 12:25:08] "GET /mail/download_attachment?model=mail.message&id=7&method=download_attachment&attachment_id=3 HTTP/1.1" 500 -

  Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1213905/+subscriptions


Follow ups

References