spring-projects / spring-projects/spring-hateoas

Jackson2HalModule class still refers to removed PropertyNamingStrategyBase Jackson class in 2.5.2 release

Open
#2,469 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.1k
Forks
476
PR merge metrics
No merged PRs in 30d

Description

In our system, the Spring boot was upgraded to 3.5.13 which refers to spring-hateoas 2.5.2 and Jackson 2.21.2 (https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/3.5.13/spring-boot-dependencies-3.5.13.pom).

But as Jackson removed the class PropertyNamingStrategyBase and same is referred by Spring Hateoas 2.5.2, we are getting runtime exception.

https://github.com/spring-projects/spring-hateoas/blob/ed913d113c6d46ce2ddc438e036eae0eb1cf626b/src/main/java/org/springframework/hateoas/mediatype/hal/Jackson2HalModule.java#L852

I am not really sure if this team can do anything about it or the ticket should be raised in Spring boot project about this issue.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/main/java/org/springframework/hateoas/mediatype/hal/Jackson2HalModule.java at line 852 and reproduce the runtime exception with Spring HATEOAS 2.5.2 and Jackson 2.21.2 under Spring Boot 3.5.13. Trace the reference to the removed PropertyNamingStrategyBase class and confirm that the compatibility failure is resolved without the runtime exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.