← Back to team overview

openerp-india team mailing list archive

[Bug 1099352] Re: [trunk/7.0]Unable to upload PDF attachment to project

 

** Summary changed:

- Unable to upload PDF attachment to project in 7.0 ver
+ [trunk/7.0]Unable to upload PDF attachment to project

** Project changed: openobject-addons => openobject-server

-- 
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/1099352

Title:
  [trunk/7.0]Unable to upload PDF attachment to project

Status in OpenERP Server:
  New

Bug description:
  When uploading an attachment the webui keeps on loading and loading.
  This is due to an error when executing upload_attachment in
  'web/controllers/main.py'. This in turn is due to an uncaught
  exception in the method 'document_file._index' in
  'addons/document/document.py'.

  When 'cntIndex.doIndex' is executed it will return None when it fails
  to create an index. However the line reads: "mime, icont =
  cntIndex.doIndex(data, datas_fname,  file_type or None, None)". mine,
  icont = None will result in the uncaught exception.

  This issue exists in two places in document.py.

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


References