-
Type:
Feature Request
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 6.0.2 RC
-
Fix Version/s: None
-
Component/s: Portal Configuration, Portal Configuration > Portal Instances
-
Labels:None
When the database is empty, MainServlet creates a a new empty company with its virtual host by default set to localhost
It seems CompanyLocalServiceImpl does this on purpose
if (webId.equals(PropsValues.COMPANY_DEFAULT_WEB_ID)) {
virtualHost = _DEFAULT_VIRTUAL_HOST;
}
But to me this makes no sense. Especially because this virtualhost is used by (for instance) social office to construct url's used in emails
Could these lines be removed or could some way to set the _DEFAULT_VIRTUAL_HOST be deviced ?