juliocamarero/liferay-portal — pull request #809 by KocsisDaniel (2012-11-23 14:58:43+00:00)
Title: LPS-30387 [TECH SUPPORT]

Hi Julio,

as you requested I created an integration test and thanks to @mdelapenya now it looks like a real test. Unfortunately the number of commits grew a lot so please feel free to merge commits if it is necessary. I made a small change after Manuel's commits, because the logic was not a 100% correct in this new general context.

thanks,
Daniel