spring-projects / spring-projects/spring-data-commons
Properly reject unsupported types for version properties [DATACMNS-1347]
@odrotbohm is already working on this.
Since Dec 30, 2020.
- Dominant language
- Java
- Stars
- 838
- Forks
- 730
- PR merge metrics
- No merged PRs in 30d
Description
Wyatt Smith opened DATACMNS-1347 and commented
When I add an @Version to my model, the @DateCreated is no longer set. I do not think this makes sense because a versioned resource can still logically have a created date.
Here is a simple project with two tests exposing this bug: https://github.com/wyattjsmith1/data-rest-version-createdby-bug.
In this example, ModelWithVersion fails it's test because the @DateCreated field is null, but it is properly set in ModelWithoutVersion
Reference URL: https://github.com/wyattjsmith1/data-rest-version-createdby-bug
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.