-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ContractDefinition.Validity breaks catalog requests if number is…
… too big (#2399) * Catch Arithmetic exception and warn about it * Separate method to get contract end time from createContractOffer method * Add Unit test for maximum ContractEndTime * Change name of shouldReturnMaximumContractEndtime UnitTest * Add Max constraint to 10 years for validity * Add Max constraint to 10 years for validity in open-api * Correct zone in ContractEndtime * Remove unused import * Change name of method for calculating contractEnd * Remove max Constraint for validity. * Remove max Constraint for validity.
- Loading branch information
1 parent
c88eadc
commit bcf7c87
Showing
4 changed files
with
57 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters