Skip to content

Bugfix - Cve should have an empty constructor#644

Merged
yahavi merged 1 commit intojfrog:masterfrom
yahavi:cve-constructor
Apr 19, 2022
Merged

Bugfix - Cve should have an empty constructor#644
yahavi merged 1 commit intojfrog:masterfrom
yahavi:cve-constructor

Conversation

@yahavi
Copy link
Copy Markdown
Member

@yahavi yahavi commented Apr 19, 2022

  • All tests passed. If this feature is not already covered by the tests, I added new tests.

The Cve class is used by the JFrog IDEA plugin's cache. An attempt to deserialize a cache object will fail with the following error:

com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of org.jfrog.build.extractor.scan.Cve (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)

@yahavi yahavi requested a review from eyalbe4 April 19, 2022 06:01
@yahavi yahavi self-assigned this Apr 19, 2022
@yahavi yahavi merged commit 0b8deb2 into jfrog:master Apr 19, 2022
@yahavi yahavi deleted the cve-constructor branch April 19, 2022 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants