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

Daniel Keir Haywood reassigned ISIS-1980:
-----------------------------------------

    Assignee: Daniel Keir Haywood

> Unexpected error when accessing collection through wrapper.
> -----------------------------------------------------------
>
>                 Key: ISIS-1980
>                 URL: https://issues.apache.org/jira/browse/ISIS-1980
>             Project: Isis
>          Issue Type: Bug
>          Components: Isis Core
>    Affects Versions: 1.16.2
>            Reporter: Andi Huber
>            Assignee: Daniel Keir Haywood
>            Priority: Major
>             Fix For: 2.0.0-M5
>
>
> As reported by Gabriel Terwesten <gabr...@terwesten.net> [1]
> Inside of integration tests i can’t seem to access collections through the 
> getter if the object is wrapped. From the documentation I got the impression 
> that that should be possible. 
> This is the offending line:
> assertThat(wrap(food).getCustomUnits()).hasSize(1);
> {noformat}
> IllegalArgumentException: d.m.c.d.i.Food#customUnits: more than one 
> ImperativeFacet for method getCustomUnits , with inconsistent intents: ...
> at o.a.i.c.m.facets.ImperativeFacet$Util.getIntent(ImperativeFacet.java:167)
> {noformat}
> [1] 
> https://lists.apache.org/thread.html/cd92d8cd28ae877104fc965f83ca90b98e2e8188f464b65181e79a27@%3Cusers.isis.apache.org%3E



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to