Details

      Description

      portletRequest and portletResponse may be null for certain portlets like Language selection.

      Steps to reproduce:

      1. Use Liferay 7.0
      2. Create a Theme that uses a language selector in portal_normal.ftl (or use the attached one):

      <@liferay_ui["language"]/>
      

      3. Deploy the theme and set a page to use it.
      Actual Result: The language selector is missing and a NullPointerException happens in the logs
      Expected Result: Language selector still appears

        Attachments

        1. 70.png
          70.png
          107 kB
        2. fail.png
          fail.png
          172 kB
        3. Fix_master.png
          Fix_master.png
          18 kB
        4. joyce-theme.war
          2.59 MB
        5. joyce-theme-70.war
          2.22 MB
        6. master.png
          master.png
          16 kB
        7. new-theme.war
          2.76 MB
        8. sample-styled-minimal-theme-2017-09-05.war
          2.02 MB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                9 weeks, 3 days ago