Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • openbravo openbravo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 36
    • Merge requests 36
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • openbravo
  • product
  • openbravoopenbravo
  • Merge requests
  • !138

Fixes ISSUE-44958: update jackson libraries

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Carlos Aristu requested to merge caristu/openbravo:fix/44958-update-jackson into master Sep 01, 2020
  • Overview 0
  • Commits 1
  • Changes 7

Update Jackson libraries from version 2.9.4 to 2.11.2

Affected Libraries

The affected libraries according to the maven definition are:

library version status comments
jackson-annotations 2.11.2 updated
jackson-core 2.11.2 updated
jackson-databind 2.11.2 updated

Update tasks

jackson-annotations

  • JDK Version Compatibility: 50 (JDK6)
  • License: The Apache Software License, Version 2.0
  • New Size: 67 KB (~1 KB bigger than previous version)
  • Updated wiki page
  • Updated dependencies repository

jackson-core

  • JDK Version Compatibility: 50 (JDK6)
  • License: The Apache Software License, Version 2.0
  • New Size: 344 KB (~30 KB bigger than previous version)
  • Updated wiki page
  • Updated dependencies repository

jackson-databind

  • JDK Version Compatibility: 51 (JDK7)
  • License: The Apache Software License, Version 2.0
  • New Size: 1,4 MB (~100 KB bigger than previous version)
  • Updated wiki page
  • Updated dependencies repository

Try

  • https://builds.openbravo.com/job/try-init/253/

Previous updates

  • 2.1.4 >>> 2.5.1
  • 2.5.1 >>> 2.9.4

Manual testing

Jasper Reports: HtmlExporter

The HtmlExporter of Jasper Reports makes use of Jackson. So, without this library generate a report in html output format is not possible. This can be tested with some core reports like the Customer Statement report or the Stock report.

Jasper Reports: JSON Datasource

Another feature of the Jasper Reports library which makes use of Jackson is the JSON Datasource. This feature can be tested with an example we have in the Platform Features demo module. This report uses this kind of datasource.

Analytics

The Analytics module contains a library which references jackson-databind elements. Some simple testing should be done (cube generation/usage) to ensure that at least we do not break any basic feature.

Ticket API

The Ticket API provides a base web service that retrieves a Ticket from the request content using a Jackson ObjectMapper. The discounts web service extends this base web service to calculate the discounts of a given ticket. It is a good point to test that the update does not break the Ticket API module.

Azure

The Integration with Azure Storage module also have some libraries that depends on jackson. See here. We have verified that the attachment management through Azure continues working fine. However, we have reported this issue for the Azure module in order to update those libraries in the future.

  • Jasper Reports: HtmlExporter
  • Jasper Reports: JSON Datasource
  • Analytics
  • Ticket API
  • Azure
Edited Sep 07, 2020 by Carlos Aristu
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix/44958-update-jackson