Skip to content

FlexOfferCurrencyValidator not included in the default Spring configuration #139

Description

@tomwetjens

Describe the bug
FlexOfferCurrencyValidator not included in the default Spring configuration

To Reproduce
Use the Shapeshifter library with a Spring application using the default configuration.
Call UftpValidationService to validate a FlexOffer with an invalid Currency.

FlexOfferCurrencyValidator is not called at all, thus Currency is not validated.

Expected behavior
Currency is validated and considered 'not valid' leading to the FlexOrder being rejected.

FlexOfferCurrencyValidator must be added to ShapeshifterConfiguration#uftpValidationService

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions