[MAGNOLIA-6009] Align htmlunit version in bundles and migration-tests-commons Created: 27/Nov/14  Updated: 08/Dec/14  Resolved: 30/Nov/14

Status: Closed
Project: Magnolia
Component/s: bundle
Affects Version/s: None
Fix Version/s: 4.5.24, 5.2.10, 5.3.6

Type: Task Priority: Critical
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 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

Generated at Mon Feb 12 04:10:27 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.