Anomalie #1732
Cannot compile with N multiplicity to an enumeration
| Status: | Résolu | Start date: | 09/05/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% | ||
| Category: | generation | Estimated time: | 1.00 hour | |
| Target version: | 2.6.2 | Spent time: | 1.00 hour |
Description
When generating the following model :
Contact --[1]----------[1..*]--> ContactType
Compilation fails in ContactAbstract on :
@Override
public ContactType getContactTypeByTopiaId(String topiaId) {
return TopiaEntityHelper.getEntityByTopiaId(contactType, topiaId);
}
when ContactType is an enum, not a TopiaEntity
Attached is a sample project for this bug.
History
#1
Updated by Tony Chemit over 1 year ago
- Status changed from Nouveau to Assigné
- Assignee set to Tony Chemit
- Estimated time set to 1.00
#2
Updated by Tony Chemit over 1 year ago
- Status changed from Assigné to Résolu
- % Done changed from 0 to 100
Fixed in r2336.