[ 
https://issues.apache.org/jira/browse/ISIS-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Haywood updated ISIS-1305:
------------------------------
    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:

{code}
@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;
}
{code}

  was:
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".


> For collections contributed from mixins, the name is empty (presumably null 
> or "")
> ----------------------------------------------------------------------------------
>
>                 Key: ISIS-1305
>                 URL: https://issues.apache.org/jira/browse/ISIS-1305
>             Project: Isis
>          Issue Type: Bug
>    Affects Versions: 1.11.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>             Fix For: 1.12.0
>
>
> 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:
> {code}
> @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;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to