apache / apache/grails-core

[BUG] 500 server error on failed validation of many association

Open
#14,590 0 comments 0 reactions 0 assignees View on GitHub
relates-to: gorm
Dominant language
Groovy
Stars
2.9k
Forks
975
Avg merge
1d 22h
Merged PRs (30d)
92

Description

The integration test in the example project shows the error.

https://github.com/tkvw/issue-java8-localtime

The issue is in the master branch:

The test fails because there's a databinding validation error, because there's no supported format for LocalTime by default. Current behaviour: server return 500, expected behaviour: 404 with validation errors.

Contributor guide

Open the contributing guide

Research direction

Start with the integration test in the linked issue-java8-localtime example project and reproduce the failure on the master branch. Trace the databinding validation error for LocalTime and compare the current 500 response with the expected 404 response containing validation errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, java
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.