KocsisDaniel/liferay-portal — pull request #123 by vilmospapp (2012-09-17 14:45:16+00:00)
Title: [TECHNICAL SUPPORT] LPS-29928 Documents won't lost their AssetCategories and Custom Field values in the future

Hi Dani,

If a user edit's a document with OpenOffice or MSOffice through WebDav after saving the new version of the document will lost the AssetCategories assigned to the former version and the Custom Field values set for the former version.

I followed the pattern from LPS-25966 (same problem but reported only against AssetTags) and refactored the code to not duplicate the logic at two places because the problem also occurs when we are moving documents between folders with a WebDAV client.

Based on my tests workflow is not affected by this problem, so the workflow statuses of documents seem to be kept.

Regards,
Vilmos