You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2016/06/03 17:51:59 UTC
[jira] [Resolved] (ISIS-1425) Fix support for publishing of wrapper
calling programmatically instantiated mixin.
[ 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)