Skip to content

Properly reject unsupported types for version properties [DATACMNS-1347] #1783

Open
@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions