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

Chat portlet is not working in case then liferay deployed not into ROOT context

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.1.2, 5.2.3
    • Fix Version/s: None
    • Component/s: Social Networking
    • Labels:
      None
    • Environment:
      liferay 5.2.3 bundled with tomcat 6, java 6
    • Branch Version/s:
      5.2.x, 5.1.x
    • Backported to Branch:
      Committed

      Description

      I have liferay instance deployed not into root context but into some path, so, liferay available at http://localhost:8080/liferay (for example). I've changed portal.ctx property configured accordenly, to make liferay currently working in this subpath.

      But - chat-portlet deployed into this liferay is not working correctly - it still tried access poller at path http://localhost:8080/poller instead of http://localhost:8080/liferay/poller

      I've investigated code and found what portal-web/docroot/html/js/liferay/poller.js is always used url "/poller" - without taking into account themeDisplay.getURLPortal() or context path.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 31 weeks, 6 days ago

                  Packages

                  Version Package