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

Dan Haywood resolved ISIS-1425.
-------------------------------
    Resolution: Fixed

> Fix support for publishing of wrapper calling programmatically instantiated 
> mixin.
> ----------------------------------------------------------------------------------
>
>                 Key: ISIS-1425
>                 URL: https://issues.apache.org/jira/browse/ISIS-1425
>             Project: Isis
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.12.1
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: 1.13.0
>
>
> suppose we have a mixin:
> Touchable_touch
> whose action "$$" is published.
> What already works is that this will be published as an action "touch" on the 
> mixed-in domain object.
> However, if we try to do this programmatically via the WrapperFactory, ie 
> {code}
> wrapperFactory.wrap(factoryService.mixin(Touchable_touch.class, 
> touchable)).$$();
> {code}
> then the target that is published is the (transient) mixin object itself, 
> rather than the domain object.
> ~~~
> The fix is therefore to make the wrapper factory's wrapper proxy more 
> intelligent, by invoking on the mixed-in action on the mixed-in domain 
> object, rather than simply on the regular default action of the mixin 
> (transient) object.
> If this 



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

Reply via email to