Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1731

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.15.0
    • Fix Version/s: 1.15.1
    • Component/s: Isis Core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: