You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2017/09/21 10:43:00 UTC

[jira] [Resolved] (ISIS-1731) @Property(hidden=Where.PARENTED_TABLES) does not render correctly in standalone collection view

     [ https://issues.apache.org/jira/browse/ISIS-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood resolved ISIS-1731.
-------------------------------
    Resolution: Fixed

> @Property(hidden=Where.PARENTED_TABLES) does not render correctly in standalone collection view
> -----------------------------------------------------------------------------------------------
>
>                 Key: ISIS-1731
>                 URL: https://issues.apache.org/jira/browse/ISIS-1731
>             Project: Isis
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.15.0
>            Reporter: Andi Huber
>            Assignee: Dan Haywood
>             Fix For: 1.15.1
>
>
> Having a tree-structure of a domain class _A_ with persistent parent child relationship, there seems to be an issue with rendering the parent property column, when asking for a standalone collection view (of a list of these objects). The +parent+ column is present, but the column's cells are empty. 
> {code:java}
> class A {
> 	@Property(hidden=Where.PARENTED_TABLES) 
> 	@Column(allowsNull="true")
> 	@Getter @Setter
> 	private A parent;
> 	
> 	@Property
> 	@Persistent(mappedBy="parent")
> 	@Getter @Setter 
> 	private SortedSet<A> children;
> 	
> }
> {code}
> Strangely, if we switch to the excel view and download the collection, the cells of the parent column are filled in as expected. And this is no CSS issue (of hiding elements in the DOM), because there the corresponding HTML tags are actually empty.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)