openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #21448
[Bug 1099352] Re: Unable to upload PDF attachment to project
** Tags added: 7.0
** Summary changed:
- Unable to upload PDF attachment to project
+ Unable to upload PDF attachment to project in 7.0 ver
--
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:
Unable to upload PDF attachment to project in 7.0 ver
Status in OpenERP Addons (modules):
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-addons/+bug/1099352/+subscriptions
References