public class Issue90TestCase extends Object
I am trying to map type A to C, then B to C. I could reproduce with really simple classes, A, B, C being a class with a single string attribute named "s".
This fails with exception "B is an unsupported source class". Looks like Orika uses the first converter: it expects A and gets B instead.
The exception goes away when I explicitly register the mappings A->C, B->C. This is tedious because this forces me to register all possible mappings (a lot in my case!) during initialization.
Please check out attached test case.
I could reproduce the issue with Orika 1.4.1 and 1.4.2-SNAPSHOT.
| Modifier and Type | Class and Description |
|---|---|
static class |
Issue90TestCase.A |
static class |
Issue90TestCase.B |
static class |
Issue90TestCase.C |
| Constructor and Description |
|---|
Issue90TestCase() |
Copyright © 2017 Glasnost. All Rights Reserved.