You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2021/08/16 08:04:00 UTC
[jira] [Updated] (ISIS-1968) @Title on a field should use the
getter (to allow the ORM to lazily retrieve the data)
[ https://issues.apache.org/jira/browse/ISIS-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Keir Haywood updated ISIS-1968:
--------------------------------------
Summary: @Title on a field should use the getter (to allow the ORM to lazily retrieve the data) (was: @Title on a field can result in "Untitled Simple Object" - because DN hasn't always retrieved object)
> @Title on a field should use the getter (to allow the ORM to lazily retrieve the data)
> --------------------------------------------------------------------------------------
>
> Key: ISIS-1968
> URL: https://issues.apache.org/jira/browse/ISIS-1968
> Project: Isis
> Issue Type: Bug
> Components: Isis Viewer Wicket
> Affects Versions: 2.0.0-M1
> Reporter: Daniel Keir Haywood
> Priority: Minor
> Fix For: 2.0.0-M7
>
>
> To reproduce, use the simpleapp and remove SimpleObject#title and instead add:
>
> {code:java}
> @Title(prepend="Object: ")
> private String name;
> {code}
> When edit the name, will see "Untitled Simple Object" on re-rendering
--
This message was sent by Atlassian Jira
(v8.3.4#803005)