Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6009

Align htmlunit version in bundles and migration-tests-commons

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Critical
    • 4.5.24, 5.2.10, 5.3.6
    • None
    • bundle
    • None

    Description

      Since migration-tests-commons updated its htmlunit version to 2.15, migration tests are failing. This is due to migration-tests-commons subclassing AbstractMagnoliaHtmlUnitTest and htmlunit 2.15 bringing some API breaking changes compared to the older version used by the bundles.
      In particular:

      • missing static constant for BrowserVersion FF 3_6
      • methods previously part of WebClient no longer accessible directly, rather through WebClientOptions
      • dependency on commons-lang3
      • requires explicit dependency on xml-apis 1.4.01 because htmlunit
        DomElement implements an interface that was not in 1.3, hence not in the
        JDK

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgrilli Federico Grilli
              fgrilli Federico Grilli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR