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

Wrong virtual host name for retrieving layout content for non-default company

    Details

    • What problem did the customer find?:
      Hide
      Please see the description.
      PTR also created on this topic: https://issues.liferay.com/browse/PTR-2621
      Show
      Please see the description. PTR also created on this topic: https://issues.liferay.com/browse/PTR-2621
    • What do you think is the root cause? (if known):
      -
    • Proposed solution (if any):
      -

      Description

      Steps to reproduce:
      1. Add break point in https://github.com/liferay/liferay-portal/blob/fe0fa43e559d1e1c1d5aae1ee4df71bf46c7eb9d/modules/apps/layout/layout-impl/src/main/java/com/liferay/layout/internal/search/util/LayoutCrawler.java#L79
      2. Start portal and add a new virtual instance with virtual host name "liferay1.com"
      3. Wait for break point hitting, checking the url it sends out:

      Expected: the url starts with : liferay1.com:8080
      Actually: the url starts with : localhost:8080

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              team-echo Product Team Echo
              Reporter:
              tina.tian Tina Tian
              Participants of an Issue:
              Recent user:
              Sophia Zhang
              Engineering Assignee:
              Lourdes Fern√°ndez Besada
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                11 weeks, 4 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP15
                  7.2.X
                  7.3.X
                  7.4.13 DXP GA1
                  7.4.3.4 CE GA4
                  Master