Bug 402543 - CheckJob Warnings are not displayed if there are errors
Summary: CheckJob Warnings are not displayed if there are errors
Status: CLOSED WONTFIX
Alias: None
Product: Sphinx
Classification: Automotive
Component: M2x IDE Integration (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-06 11:19 EST by Nicolas Cornet CLA
Modified: 2024-05-07 00:27 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Cornet CLA 2013-03-06 11:19:11 EST
When a check job detect errors AND warnings it report only errors.
Correction proposal :
in org.eclipse.sphinx.xtendxpand.jobs.CheckJob.run(IProgressMonitor):
add :
"
if (issues.hasWarnings()) {
    for (MWEDiagnostic warning : issues.getWarnings()) {
	log.warn(warning.getMessage());
    }
}
"
just before : 
"
return StatusUtil.createErrorStatus(Activator.getPlugin(), "Check model failed with errors");
"
Comment 1 Balazs Grill CLA 2024-05-07 00:27:52 EDT
Closed stale issue before migration