Revision 4b8b76cc
Added by Patrick Plitzner over 10 years ago
- quick-fix for DerivateView: always create a FieldUnit when creating a DerivedUnitFacade because a FieldUnit is needed as the root of the hierarchy
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewDerivedUnitBaseWizard.java | ||
---|---|---|
48 | 48 |
try { |
49 | 49 |
if(getEntity() != null) { |
50 | 50 |
facade = DerivedUnitFacade.NewInstance(getEntity(), PreferencesUtil.getDerivedUnitConfigurator()); |
51 |
facade.getFieldUnit(true); //TODO: this is a temporary solution for the Campanula project as |
|
52 |
//this ALWAYS needs a FieldUnit as root of the hierarchy |
|
51 | 53 |
} |
52 | 54 |
} catch (DerivedUnitFacadeNotSupportedException e) { |
53 | 55 |
// w should never get here |
Also available in: Unified diff