openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #21411
[Bug 1099352] [NEW] Unable to upload PDF attachment to project
Public bug reported:
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.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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
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
Follow ups
References