Hi,
We have an order form (view model) with some collection defined as
@Collection()
@CollectionLayout(named = "Routed subnet(s)")
@Getter @Setter
private List<RoutedSubnet> routedSubnetsPC;
When I call the following method on an integration test I get an exception:
getWrapperFactory().wrap(orderForm).getRoutedSubnetsPC();
Exception:
java.lang.IllegalArgumentException:
dummypackage.OrderForm#routedSubnetsPC: more than one ImperativeFacet
for method getRoutedSubnetsPC , with inconsistent intents:
[CollectionAccessorFacetViaAccessor[type=PropertyOrCollectionAccessorFacet,method=public
java.util.List dummypackage.OrderForm.getRoutedSubnetsPC()],
CollectionAddToFacetViaAccessor[type=CollectionAddToFacet,method=public
java.util.List dummypackage.OrderForm.getRoutedSubnetsPC()],
CollectionRemoveFromFacetViaAccessor[type=CollectionRemoveFromFacet,method=public
java.util.List dummypackage.OrderForm.getRoutedSubnetsPC()],
CollectionClearFacetViaAccessor[type=CollectionClearFacet,method=public
java.util.List dummypackage.OrderForm.getRoutedSubnetsPC()]]
Any ideas on this?
Thanks,
Erik