Skip to content
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

Feature/cdr 715 fix partial date time serialization #420

Merged

Conversation

vmueller-vg
Copy link
Contributor

No description provided.

@vmueller-vg vmueller-vg force-pushed the feature/CDR-715_fix-partial-date-time-serialization branch from 441938c to 61743d8 Compare January 24, 2023 11:13
@vmueller-vg
Copy link
Contributor Author

Fixing this bug uncovered another bug, where the parser will accept partial dates with an invalid month like 2017-00 or 2017-13 instead of throwing an error. This is tested in COMPOSITION-tests-1 B.6.n which is the one that makes the pipeline fail

@vmueller-vg vmueller-vg marked this pull request as draft January 24, 2023 14:21
@vmueller-vg vmueller-vg force-pushed the feature/CDR-715_fix-partial-date-time-serialization branch from b5216e5 to a808c92 Compare March 22, 2023 13:12
@vmueller-vg vmueller-vg marked this pull request as ready for review March 28, 2023 12:10
@vmueller-vg vmueller-vg marked this pull request as draft March 28, 2023 12:27
@vmueller-vg vmueller-vg marked this pull request as ready for review March 28, 2023 12:27
@sonarcloud
Copy link

sonarcloud bot commented Mar 28, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

97.2% 97.2% Coverage
0.0% 0.0% Duplication

@vmueller-vg
Copy link
Contributor Author

Note that 8 tests from COMPOSITION-tests-1 fail, because they compare error messages in addition to the status code. With the workaround implementation we now get more meaningful error messages that no longer match the ones expected by the tests.

Affected test cases are: B.6.7.a

@stefanspiska stefanspiska merged commit ac89fe1 into develop Mar 29, 2023
2 checks passed
@stefanspiska stefanspiska deleted the feature/CDR-715_fix-partial-date-time-serialization branch March 29, 2023 09:34
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.

None yet

3 participants