Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352672

Summary: [Serializer] strange error message for missing feature
Product: [Modeling] TMF Reporter: Christian Dietrich <christian.dietrich.opensource>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: moritz.eysholdt
Version: unspecifiedFlags: moritz.eysholdt: indigo+
Target Milestone: SR1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Christian Dietrich CLA 2011-07-20 16:11:00 EDT
Build Identifier: 2.0.0

org.eclipse.xtext.serializer.diagnostic.SequencerDiagnosticProvider
produces a strage error message for missing features

	public ISerializationDiagnostic createFeatureValueMissing(EObject semanticObject, EStructuralFeature feature) {
		return new SerializationDiagnostic(semanticObject, "foo bar");
	}

i guess this should give a more precise error message e.g. containing the features name and the information that a feature is missing

Reproducible: Always
Comment 1 Moritz Eysholdt CLA 2011-07-31 12:00:45 EDT
fixed. pushed to master.
Comment 2 Karsten Thoms CLA 2017-09-19 17:40:37 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:51:45 EDT
Closing all bugs that were set to RESOLVED before Neon.0