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

For collections contributed from mixins, the name is empty (presumably null or "")

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.11.0
    • Fix Version/s: 1.12.0
    • Component/s: None
    • Labels:
      None

      Description

      This seems to be a regression; in 1.10.0 it was working.

      This is for the "$$" action for a mixin called XXX_yyy, where the name of the contributed collection is meant to be "yyy", eg:

      @Mixin
      public class SimpleObject_others extends AbstractSubscriber{
      
          private final SimpleObject simpleObject;
      
          public SimpleObject_others(final SimpleObject simpleObject) {
              this.simpleObject = simpleObject;
          }
      
          @Action(semantics = SemanticsOf.SAFE)
          @ActionLayout(contributed = Contributed.AS_ASSOCIATION)
          @CollectionLayout(defaultView = "table")
          public List<SimpleObject> $$() {
              return simpleObjects.listAll();
          }
      
          @Inject
          SimpleObjects simpleObjects;
      }
      

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

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

        ISIS-1305: mixed-in collections and properties now derive name correctly if called '$$'

        Also:

        • deleting old version of DomainObjectContainerDefault, accidentally committed previously
        • tiny tweak to btn class in simpleapp.
        Show
        jira-bot ASF subversion and git services added a comment - Commit 2a5d6de5223d7f78b284b4f8879a89e51b9069f0 in isis's branch refs/heads/master from Dan Haywood [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=2a5d6de ] ISIS-1305 : mixed-in collections and properties now derive name correctly if called '$$' Also: deleting old version of DomainObjectContainerDefault, accidentally committed previously tiny tweak to btn class in simpleapp.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development