rotty3000/liferay-portal — pull request #150 by matethurzo (2013-01-10 14:50:06+00:00)
Title: LPS-32120 Small problem in company local service when setup wizard is turned off

Hey Ray,

This change is coming from support. The basic problem happens when the portal is being started on an empty database and the setup wizard is turned off.

The CompanyLSI is setting the account name to the webId and ignoring the default company name in the checkCompany method for the created account entity.

This fix handles the issue, the same pattern for checking the default company is already being used in the same method.

I've only applied some small source formatting, it looks nicer and conforms with the >declare the variable to the closest where you use it< pattern.

Can you please review this and push it to Brian? And also please let me know if you have any questions.

Thanks,

Máté