spring-projects / spring-projects/spring-data-rest

JPA CrudRepository Doesn't Render Child Elements [DATAREST-273]

未关闭
#653 3 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@odrotbohm 已经在做这个了。

开始于 2020年12月31日。

in: repository type: bug
主要语言
Java
星标
958
派生
568
PR 合并指标
30 天内没有已合并 PR

描述

Brandon Gaisford opened DATAREST-273* and commented

Child entity not rendered by CrudRepository.

Steps to reproduce:

  1. Unpack attached zip file
  2. mvn compile
  3. mvn package
  4. mvn jetty:run-war
  5. Point browser to http://localhost:8080
  6. 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:

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。