Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-10594

Be able to define the virtual host for the default company

    Details

      Description

      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 ?

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            jelmer Jelmer Kuperus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package