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 2017/09/20 17:50:00 UTC

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

Andi Huber created ISIS-1731:
--------------------------------

             Summary: @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
             Fix For: 1.16.0


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)