caorongjin/liferay-portal — pull request #37 by ivicac (2012-03-22 13:09:25+00:00)
Title: LPS-25274 - Editing the title of description of an image or video will regenerated all the thumbnails and video previews

Hi Alexander,
In my previous previous pull request it was my mistake regarding to checkInFileEntry method and the following scenario:

Checkout
Change title
Change file object
Checkin
I have always tested waiting for the converting process to finish in step 3 before going to step 4.
Now I have added additional code in checkInFileEntry method that checks if the version for checkin is currently processed(there is some conversion process of uploaded file) and in that case I skip copying from the last version.