[
https://hibernate.onjira.com/browse/HV-587?page=com.atlassian.jira.plugin...
]
Hardy Ferentschik commented on HV-587:
--------------------------------------
Ok, I am not able to reproduce the exception using a Arquillian test -
https://github.com/hferentschik/hibernate-validator/tree/HV-587
As you said, adding an actual constraint somewhere makes the test pass. I will look into
it asap. The other question of course is why would add a _@Valid_ annotation without any
actual constraint in the entities?
stack overflow when having @Valid on cycle
------------------------------------------
Key: HV-587
URL:
https://hibernate.onjira.com/browse/HV-587
Project: Hibernate Validator
Issue Type: Bug
Affects Versions: 4.2.0.Final
Reporter: Michael G
Attachments: test.zip
When I have some entities referencing each other (a cycle), the annotation @Valid is on
the corresponding getters and there is not really something to be validated on these
entities (no @NotNull, ... is present) I end up in a recursion which leads to a stack
overflow.
If there are some @NotNull the detection of cycles does work fine.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira