brianchandotcom/liferay-portal — pull request #4390 by holatuwol (2012-03-01 19:27:19+00:00)
Title: LPS-25844

Code in DLFileEntryLocalServiceImpl.updateFileEntry does not always create a DLFileVersion object when we add a new version, introducing a situation where upgrade may fail because later upgrades assume that every version has a DLFileVersion (since that's what the 5.2.8 and 6.0.0 upgrade processes create, but which 5.2.8 itself does not enforce).