Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-5381

Upgrade jquery for the dev portal to at least 3.4.0

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.9.1 GA
    • None
    • System
    • None
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • UXD

      • current version of jquery used in dev portal is 1.7.1
      • newest version of jquery is 3.5.1
      • In order to pass PCI compliance scan we need to be using 3.4.0 or higher

       

      • We need new dev portals to use jquery 3.4.0
      • Already created portals can keep running on 1.7.1 if that's easier.

      Analysis:

      There's a helpful tool [jquery-migrate|https://github.com/jquery/jquery-migrate] that will help us find any incompatibilities. However it says that first we need to upgrade to 1.12.x or 2.2.x before upgrading to 3.x

      Integrating this tool is easy enough and if points out deprecated code as warnings in the browser's console.

      The good thing is Features and 99% Tests pass using jquery 3.5.1. Usage in scripts doesn’t look complex at all, therefore the upgrade should be easy but possibly time consuming.

      The bad thing is that there are many versions (and many sources) of jquery being used in porta and it’s very confusing (even if they're not used in dev portal).

            Unassigned Unassigned
            tmaas-1 Thomas Maas
            Jakub Smolár Jakub Smolár
            Damian Peralta Damian Peralta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: