← Back to team overview

openerp-india team mailing list archive

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

 

** Branch linked: lp:~openerp-dev/openobject-addons/trunk-
bug-1213905-dharmraj

-- 
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):
  Confirmed

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


References