spring-projects / spring-projects/spring-data-rest
JPA CrudRepository Doesn't Render Child Elements [DATAREST-273]
Open
@odrotbohm is already working on this.
Since Dec 31, 2020.
in: repository
type: bug
- Dominant language
- Java
- Stars
- 958
- Forks
- 568
- PR merge metrics
- No merged PRs in 30d
Description
Brandon Gaisford opened DATAREST-273* and commented
Child entity not rendered by CrudRepository.
Steps to reproduce:
- Unpack attached zip file
- mvn compile
- mvn package
- mvn jetty:run-war
- Point browser to http://localhost:8080
- Point browser to http://localhost:8080/equipments
Expected result:
Entity Equipment child property equipmentCategory should be rendered in JSON output, but it isn't. This error occurs in 2.0.0.RELEASE, and 2.0.1.BUILD-SNAPSHOT, it was working in 2.0.0.RC1
Affects: 2.0 GA (Codd), 2.0.1 (Codd SR1)
Attachments:
- test.zip (15.51 kB)
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.