[ 
https://issues.apache.org/jira/browse/ISIS-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15314476#comment-15314476
 ] 

ASF subversion and git services commented on ISIS-1425:
-------------------------------------------------------

Commit ffd9f08c9487d1c785d8ebd10fb99c0da3aa47fe in isis's branch 
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=ffd9f08 ]

ISIS-1425: making the wrapper factory intelligent enough to handle 
(dereference) programmatically instantiated mixins


> 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