Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-13484

In some parts, usage of WAP themes does not honor wap.styling.enabled/mobile.device.styling.wap.enabled

    Details

      Description

      In LPS-37371, WAP support was disabled by default. Property wap.styling.enabled controls this.
      However, that property is not considered in some places, returning WAP content even if set to false (default value).

      Steps to reproduce (using Firefox) :
      0) Modify Firefox to accept WAP
      0.1) In the address bar in FireFox, type “about:config”.
      0.2) Click the “I promise” button.
      0.3) In the search bar type “network.http.accept.default”.
      0.4) Double-click the setting.
      0.5) In the comma-separated list add a new value of “application/vnd.wap.xhtml+xml” (without the quotes) at the end of the line. For me, I used “application/vnd.wap.xhtml+xml;q=0.5″ to lower the precedence compared to HTML.
      1) Go to localhost:8080

      Observed result:

      • WAP version is returned (you can take a look to the DTD of the returned page).

      Expected result:

      • As WAP has low precedence in the accept header, and, by default, WAP is disabled (wap.styling.enabled/mobile.device.styling.wap.enabled is set to false by default), the HTML version should be returned.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-ee EE Support
                Reporter:
                daniel.sanz Daniel Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  6.2.X EE