Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352237 - Validation error message: dump old, hard to decipher junk from message
Summary: Validation error message: dump old, hard to decipher junk from message
Status: CLOSED FIXED
Alias: None
Product: CBI
Classification: Technology
Component: CBI p2 Repository Aggregator (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-15 13:07 EDT by Miles Daffin CLA
Modified: 2016-09-16 15:51 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miles Daffin CLA 2011-07-15 13:07:55 EDT
The validation error reporting was recently improved to help the user
understand where in the model errors were coming from by formatting the
information in a hierarchical manner reflecting the structure of the model. 

Validation error messages are written to the error log. They are also reported to the user using an error dialog. The information in the details section of this currently has 4 parts:

1. Configuration Context:
"Problems while verifying configuration: <configuration identifier>"

2. Summary of error: section starts with e.g.
"Only one of the following can be installed at once:..."
"Missing requirement:..."

3. Hierarchical information: shows where problems are in the aggregation

4. Old junk: sections starts with "Software being installed" and is then followed by a block of hard to decipher diagnostic information that I think has effectively been replaced by the other information above.

It would be nice if we could lose 4 from the error dialog details section, and possibly from the error log. If this is not possible then the type 4 information should be separated from the useful information in the error dialog details section at least, e.g. using a blank line and a line of dashes, e.g. 

org.scala-ide.sdt.feature.feature.jar 2.0.0.nightly-29-201107150011-6914a14 is required by:
  Contribution(Scala IDE 2.9 Nightly)
    MappedRepository(http://download.scala-ide.org/nightly-update-wip-experiment-2.9.0-1)
      Feature(org.scala-ide.sdt.feature.feature.group 2.0.0.nightly)
------------------------------------------------
Software being installed: contributed.content.validationSet_main 1.0.0
Only one of the following can be installed at once: 
Scala IDE for Eclipse 2.0.0.beta08-28-201107121559-7d78460 (org.scala-ide.sdt.feature.feature.jar 2.0.0.beta08-28-201107121559-7d78460)
Scala IDE for Eclipse 2.0.0.beta08-29-201107121555-7d78460 (org.scala-ide.sdt.feature.feature.jar 2.0.0.beta08-29-201107121555-7d78460)
Scala IDE for Eclipse 2.0.0.nightly-29-201107150011-6914a14 (org.scala-ide.sdt.feature.feature.jar 2.0.0.nightly-29-201107150011-6914a14)
Cannot satisfy dependency:
From: contributed.content.repository_download.scala-ide.org_nightly-update-wip-experiment-2.9.0-1 1.0.0
To: org.scala-ide.sdt.feature.feature.group 2.0.0.nightly
----
Comment 1 Thomas Hallgren CLA 2011-07-18 15:33:07 EDT
Fixed in rev. 1533.
Comment 2 Miles Daffin CLA 2011-07-19 13:24:13 EDT
Confirmed fixed. Closing.
Comment 3 David Williams CLA 2016-09-16 15:51:50 EDT
[Bookkeeping change only. Moving bugs to the new "home" of aggregator, CBI.
Made no changes to assignee's for closed bugs, even though some were old inbox.]