Project

General

Profile

« Previous | Next » 

Revision 9753e115

Added by Patrick Plitzner almost 6 years ago

Show more detailed title when failing to create collection element

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/CdmFormFactory.java
2852 2852

  
2853 2853

  
2854 2854
        if (element == null) {
2855
            MessagingUtils.messageDialog("No element for entity", this,
2855
            MessagingUtils.messageDialog(
2856
                    String.format("Error when creating section %s",
2857
                            parentElement.getClass().getSimpleName()),
2858
                    this,
2856 2859
                    String.format("Could not generate collection element for entity of class %s."
2857 2860
                            + " Looks like the case is not yet handled. Check implementation.\n"
2858 2861
                            + "Entity: %s", entity.getClass(), entity.toString()), null);

Also available in: Unified diff