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

Language Servlet Filter needs reload props

    Details

    • Fix Priority:
      3

      Description

      Add content/Langugage.properties.
      Deploy portlet and ensure it's working.
      Update content/Language properties.
      Redeploy; new language is not used.

      More specific steps to recreate bug:
      Deploy blade.portlet.jsp from:
      https://github.com/rotty3000/blade/tree/master/bndtools/blade.portlet.jsp

      gradle :blade.portlet.jsp:build
      cp blade.portlet.jsp/generated/blade.portlet.jsp.jar ${LIFERAY_HOME}/osgi/modules

      And drop the JAR file to modules folder ${LIFERAY_HOME}/osgi/modules
      Add the Blade JSP portlet to page; note it shows up with the default message:

      "Hello from BLADE JSP!"

      Then update the content/Language
      Rebuild and copy to modules folder.
      In gogo shell, issue below command:

      lb blade.portlet.jsp
      update 429

      Replace 429 with the bundle ID for blade.portlet.jsp.
      Refresh the page with the portlet on it.
      Expected: new text show should up based on the properties file
      Actual: the same old text is shown

      I tried to debug this by doing this:

      cd liferay-portal-src-7.0-ce-b5/modules/portal/portal-language-servlet-filter
      gradle build

      Though my environment is not setup; I'll be following steps to fix later:
      https://dev.liferay.com/web/liferay-7-community-expedition/instructions?p_p_id=54_INSTANCE_AR71mcdfz3yF&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_54_INSTANCE_AR71mcdfz3yF_struts_action=%2Fwiki_display%2Fview_page&_54_INSTANCE_AR71mcdfz3yF_nodeName=Main&_54_INSTANCE_AR71mcdfz3yF_title=IDE

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            bmvakili Bijan Vakili
            Participants of an Issue:
            Recent user:
            Brian Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 50 weeks, 2 days ago

                Packages

                Version Package