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

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

    Details

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

        Activity

        Hide
        hobrom Andi Huber added a comment -
        Show
        hobrom Andi Huber added a comment - proposed fix pr #94 https://github.com/apache/isis/pull/94
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 0cae6aa3fbf2fcfd3410ea5cb72c32a91bfb52f7 in isis's branch refs/heads/master from Andi Huber
        [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=0cae6aa ]

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

        Show
        jira-bot ASF subversion and git services added a comment - Commit 0cae6aa3fbf2fcfd3410ea5cb72c32a91bfb52f7 in isis's branch refs/heads/master from Andi Huber [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=0cae6aa ] FIX ISIS-1731 @Property(hidden=Where.PARENTED_TABLES) does not render correctly in standalone collection view
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 7f15b185379496ffffac30eb9bece3352cc62b3f in isis's branch refs/heads/master from Dan Haywood
        [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=7f15b18 ]

        Merge branch 'ISIS-1731' of https://github.com/hobrom/isis into ISIS-1731_pr-94

        Show
        jira-bot ASF subversion and git services added a comment - Commit 7f15b185379496ffffac30eb9bece3352cc62b3f in isis's branch refs/heads/master from Dan Haywood [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=7f15b18 ] Merge branch ' ISIS-1731 ' of https://github.com/hobrom/isis into ISIS-1731 _pr-94
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 7f15b185379496ffffac30eb9bece3352cc62b3f in isis's branch refs/heads/master from Dan Haywood
        [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=7f15b18 ]

        Merge branch 'ISIS-1731' of https://github.com/hobrom/isis into ISIS-1731_pr-94

        Show
        jira-bot ASF subversion and git services added a comment - Commit 7f15b185379496ffffac30eb9bece3352cc62b3f in isis's branch refs/heads/master from Dan Haywood [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=7f15b18 ] Merge branch ' ISIS-1731 ' of https://github.com/hobrom/isis into ISIS-1731 _pr-94
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 2493cf84f6a9fc08e65cac96f40810e7ae6c56e6 in isis's branch refs/heads/master from Dan Haywood
        [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=2493cf8 ]

        Merge branch 'ISIS-1731_pr-94'

        Show
        jira-bot ASF subversion and git services added a comment - Commit 2493cf84f6a9fc08e65cac96f40810e7ae6c56e6 in isis's branch refs/heads/master from Dan Haywood [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=2493cf8 ] Merge branch ' ISIS-1731 _pr-94'

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development