Commit aff7e14c authored by Ivan Tyagov's avatar Ivan Tyagov

Pass user_login so more meta data can be discovered.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35702 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e2d18d97
...@@ -98,7 +98,8 @@ if synchronous_metadata_discovery:\n ...@@ -98,7 +98,8 @@ if synchronous_metadata_discovery:\n
if document.isSupportBaseDataConversion():\n if document.isSupportBaseDataConversion():\n
document.processFile()\n document.processFile()\n
merged_document = document.Document_convertToBaseFormatAndDiscoverMetadata(\n merged_document = document.Document_convertToBaseFormatAndDiscoverMetadata(\n
file_name=file_name)\n file_name=file_name,\n
user_login=str(portal.portal_membership.getAuthenticatedMember()))\n
is_existing_document_updated = (merged_document!=document)\n is_existing_document_updated = (merged_document!=document)\n
document = merged_document\n document = merged_document\n
# introspect document and find editable properties\n # introspect document and find editable properties\n
...@@ -210,6 +211,7 @@ return document\n ...@@ -210,6 +211,7 @@ return document\n
<string>message</string> <string>message</string>
<string>getattr</string> <string>getattr</string>
<string>is_existing_document_updated</string> <string>is_existing_document_updated</string>
<string>str</string>
<string>merged_document</string> <string>merged_document</string>
<string>document_edit_kw</string> <string>document_edit_kw</string>
<string>property_id_list</string> <string>property_id_list</string>
......
93 96
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment