Untitled conversation
- User
[error] Test com.qvantel.marketing.incentive.jsonapi.pub.repository.IncentiveProgramCrnkRepositoryTest.shouldComputePhasingOutProgramProperly failed: io.crnk.core.exception.ForbiddenException: null, took 0.005 sec [error] at io.crnk.core.engine.internal.exception.CrnkExceptionMapper.fromErrorResponse(CrnkExceptionMapper.java:44)
- Assistant
- User
The library service-template-java-spring uses Jakarta API from version 16.x. If this library is upgraded to 16.x, we will have to upgrade javax import statements in marketing-app to use jakarta API, however, there’s crnk framework which doesn’t support Jakarta API yet, so javax import statements within crnk framework classes fail e.g. io/crnk/spring/setup/boot/mvc/CrnkErrorControllerAutoConfiguration.java
Upgrading service-template-java-spring library is needed to resolve some of the CVEs and right now it is not possible to proceed without crnk framework that supports Jakarta API.
The crnk framework currently does not support Spring Boot 3.x. Also crnk heavily based on javax.servlet api so it's not compatible with jakarta api at all. So, we cannot upgrade marketing-storage to Spring Boot 3.x. Utmost it can be upgraded to version 2.7.18. At this time, there’s an open pull request with crnk framework since Oct 2023 to support Spring Boot 3.x and Jakarta API.
These were comments on JIRA ticket.
Add one more appropriate comment that CVE's couldn't be closed due to issues with library upgrades and close the JIRA ticket.
- Assistant
Based on the existing discussion around the integration challenges due to dependency conflicts specifically between the Crnk framework and the service-template-java-spring library's upgrade to support Jakarta API, it's clear that the CVE resolutions are blocked by external dependencies that are currently beyond our control.
Additional Comment for the JIRA Ticket:
As discussed, the necessary upgrade of the service-template-java-spring library to version 16.x to address certain CVEs requires transitioning from javax to Jakarta API. However, our current dependency on the Crnk framework, which lacks support for Jakarta API and Spring Boot 3.x, precludes this upgrade. Efforts to resolve this matter are dependent on external updates to the Crnk framework, which has an open pull request since October 2023 for supporting these requirements. Given the dependencies are external and the updates from third-party maintainers are pending, we are currently unable to proceed with the upgrade without risking major compatibility issues across our applications. Therefore, resolution of these CVEs must, unfortunately, remain on hold until such a time as the necessary support is implemented in the Crnk framework or an alternative solution is found. I will close this ticket now and recommend it be reopened or a new ticket created upon updates to the Crnk framework that facilitate progressing with the originally planned upgrades. - User
Explain
- Assistant
- User
in a html5 doc, what if i added lang = 'fr'. what would happen?
- Assistant
- User
Explain. How is it different from the earlier version and why?
- Assistant