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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.11.0
    • 1.12.0
    • None
    • 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;
      }
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: