juliocamarero/liferay-portal — pull request #425 by matethurzo (2012-06-25 13:51:43+00:00)
Title: [TECH SUPPORT] LPS-28123

Hey Julio, This is a support fix for the staging, basically it can happen that during publishing when two users are publishing the same site, they got some exceptions. Based on the dicussion with @zsoltbalogh and @mhan810 Zsolt implemented a locking feature for the local staging. The concept of the locking is coming the PortalLDAPImporterImpl.importFromLDAP(long). I've slightly formatted Zsolt's code, and I've also tested it and it works. Please note that according to Zsolt, this is quite urgent. Thanks Julio! Mate