Project

General

Profile

Revision a91ce8c5

IDa91ce8c52a14fad9d2d5030fbb54d27a973b6ba7
Parent bdc19ae2
Child 36d5fbc6

Added by Katja Luther over 2 years ago

fix verbatim date in editor

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/container/MisappliedGroupE4.java
52 52
	}
53 53

  
54 54
	private boolean redrawNeeded() {
55
		Set<Taxon> misapplications = getEditor().getTaxon().getMisappliedNames(true);
56
		misapplications.addAll(getEditor().getTaxon().getProParteAndPartialSynonyms());
55
		Set<Taxon> concepts = getEditor().getTaxon().getMisappliedNames(true);
56
		concepts.addAll(getEditor().getTaxon().getProParteAndPartialSynonyms());
57 57

  
58
		Set<Taxon> presentMisapplication = new HashSet<>();
58
		Set<Taxon> presentConcepts = new HashSet<>();
59 59

  
60 60
		for (AbstractGroupedContainerE4<Taxon> container  : getGroupedContainers()){
61
			presentMisapplication.add(container.getData());
61
		    presentConcepts.add(container.getData());
62 62
		}
63
		return ! (presentMisapplication.containsAll(misapplications) && misapplications.containsAll(presentMisapplication));
63
		return ! (presentConcepts.containsAll(concepts) && concepts.containsAll(presentConcepts));
64 64
	}
65 65
}
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/reference/ReferenceDetailElement.java
423 423
			getEntity().setType(combo_referenceType.getSelection());
424 424
			updateContent();
425 425
		} else if (eventSource == element_timePeriod) {
426
			getEntity().setDatePublished(element_timePeriod.getTimePeriod());
426
			getEntity().setDatePublished(element_timePeriod.getVerbatimTimePeriod());
427 427
			clearException();
428 428
		}
429 429
		// selections

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)