Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1731

@Property(hidden=Where.PARENTED_TABLES) does not render correctly in standalone collection view

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.15.0
    • 1.15.1
    • Core
    • None

    Description

      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.

      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;
      	
      }
      

      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.

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            hobrom Andi Huber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: