You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2021/12/10 19:18:00 UTC

[jira] [Closed] (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 ]

Andi Huber closed ISIS-1968.
----------------------------
    Resolution: Fixed

Already fixed somewhere along the road.

> @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
>            Assignee: Andi Huber
>            Priority: Minor
>             Fix For: 2.0.0-M7
>
>
> otherwise, can result in "Untitled Simple Object" - because DN hasn't always retrieved object.
>  
> 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.20.1#820001)