Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-21411

Automatic device detection and mobile redirect causing problems for mobile folks who don't "opt out"

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.8.1, 2.9.0
    • Fix Version/s: None
    • Component/s: Mobile Devices, Portal
    • Labels:
      None

      Description

      The automatic device detection and mobile redirect causes requests for /portal/scripts/portalscripts.js to be redirected and thus deliver html instead of the expected javascript. The browser then cannot parse /portal/scripts/portalscripts.js and the most obvious symptom is that the "More Sites" drop-down does not appear when you click that tab.

      You can see this for yourself with the following command line:
      curl -A "Mozilla/5.0 (iPhone; U; OS X Leopard 9A365; en) KHTML" https://qa29.longsight.com/portal/scripts/portalscripts.js

      Or, you can use Safari and set your user agent to iOS and then go directly to the url.

      I think folks haven't noticed this before because mobile users are usually first sent to /portal/pda. If they choose to "opt-out" and back into the standard portal, a preference is set, so requests for /portal/scripts/portalscripts.js after that "opt out" are fine.

      For folks that use a non-standard portal, like say, xsl-portal, there is already an apache redirect in place to send requests from /portal to /xsl-portal, so they bypass the "opt-out" button and so get the "redirected" js file.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                nicola@nyu.edu Nicola Monat-Jacobs
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration