-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NAE-1947] HistoryService findAllSetDataEventLogs is not working #242
Conversation
- move ChangedField from groovy to java - add test in HistoryServiceTest
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moving the class from Groovy to Java should not require changes in other classes: package, getter/setters
src/main/java/com/netgrif/application/engine/petrinet/domain/ChangedField.java
Outdated
Show resolved
Hide resolved
src/main/java/com/netgrif/application/engine/petrinet/domain/ChangedField.java
Outdated
Show resolved
Hide resolved
src/main/java/com/netgrif/application/engine/petrinet/domain/ChangedField.java
Outdated
Show resolved
Hide resolved
- change access modifier in ChangedField - move ChangedField to another package - remove unnecessary comments
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
Description
Fixed error when using
HistoryService
to findSetDataEventLog
. The problem was, thatChangedField
class was implemented in Groovy, but the rest of the model was implemented by Java. When using reflection it couldn't find any default constructor forChanedField#TaskPair
, but it was declaredFixes NAE-1947
Dependencies
No new dependencies were introduced
Third party dependencies
No new dependencies were introduced
Blocking Pull requests
There are no dependencies on other PR
How Has Been This Tested?
Unit test
HistoryServiceTest#findAllSetDataEventLogsByCaseId
Test Configuration
Checklist: