Commit 7473d9ef authored by Yusei Tahara's avatar Yusei Tahara

Send data instead of base_data to get metadata.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18274 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c2e0bafb
......@@ -488,10 +488,12 @@ class OOoDocument(File, ConversionCacheMixin):
based on the values provided by the user. This is implemented
through the invocation of the conversion server.
"""
# We must use original data which is uploaded by user from editform.
data = self.getData()
server_proxy = self._mkProxy()
response_code, response_dict, response_message = \
server_proxy.run_setmetadata(self.getId(),
enc(_unpackData(self.getBaseData())),
enc(_unpackData(data)),
kw)
if response_code == 200:
# successful meta data extraction
......
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