Spring Projects Issues

Results 1565 comments of Spring Projects Issues

**[João Paulo Faria](https://jira.spring.io/secure/ViewProfile.jspa?name=jpfaria)** commented Hi.. To correctly override. I did it this way for success. PS. I am using the 2.2.0.BUILD-SNAPSHOT version `@Bean` public LocalValidatorFactoryBean validator() { return new LocalValidatorFactoryBean();...

**[Eduardo Mourão](https://jira.spring.io/secure/ViewProfile.jspa?name=eduardordm)** commented The override solution is not working anymore. I also don't think it's a minor issue since it pretty much makes using spring-data-rest with constraints impossible.

**[Oyku Gencay](https://jira.spring.io/secure/ViewProfile.jspa?name=oyku)** commented Same problem here with 2.5.2 version. Posting an invalid object returns ``` { "timestamp": 1471946759117, "status": 500, "error": "Internal Server Error", "exception": "org.springframework.data.rest.core.RepositoryConstraintViolationException", "message": "Validation failed", "path":...

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be...

**[Oliver Drotbohm](https://jira.spring.io/secure/ViewProfile.jspa?name=olivergierke)** commented I am not sure how this is supposed to work. If you use a projection, there simply is not `Resource` but a `Resource`, so we simply can't...

**[Mathias D](https://jira.spring.io/secure/ViewProfile.jspa?name=mduesterhoeft)** commented So you are saying this is works as designed? So what would you recommend to access the id of the entity to generate links? Currently my projections...

**[Oliver Drotbohm](https://jira.spring.io/secure/ViewProfile.jspa?name=olivergierke)** commented Sort of, yes. In case you're using a projection there simply will never be a `Resource` but a `Resource`. That makes pretty obvious that a `ResourceProcessor` can't...

**[Mathias D](https://jira.spring.io/secure/ViewProfile.jspa?name=mduesterhoeft)** commented Thanks for the quick feedback - good to know that we did not do anything wrong. We thought about the common interface - maybe we go this...

**[Mathias D](https://jira.spring.io/secure/ViewProfile.jspa?name=mduesterhoeft)** commented See previous comments /discussion - do you want to close the issue?

**[Mathias D](https://jira.spring.io/secure/ViewProfile.jspa?name=mduesterhoeft)** commented I just had a look at the code regarding the issue I described. I saw that the ProxyProjectionFactory is also assigning the TargetAware interface to the proxy...