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

Bug 325134

Summary: [comparator] Comparator prints <missing argument> for some errors
Product: [Eclipse Project] Equinox Reporter: David Williams <david_williams>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: aniefer
Version: 3.6   
Target Milestone: 3.6 M3   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description David Williams CLA 2010-09-13 12:47:25 EDT
Well, at least one error. 

In about.mappings, the property "0" has different values: "<missing argument>"
and "<missing argument>"

This message is undoubtedly just saying a bundle has a "build id" from one date, versus another date ... but, would be nice if it gave the "real" values, since confusing otherwise (you know, if you are not "in the know"). 

I encountered this in bug 325067. 

Also found bug 274739 which mentions similarly bad error message.
Comment 1 Andrew Niefer CLA 2010-10-14 19:55:14 EDT
There was a somewhat arbitrary restriction where if the key values were longer than 10 character we didn't include them in the same message.

I guess this was to handle the case if the values are something really long like a license we didn't want to spew the whole thing.  

Instead of leaving out the values I will print a truncated value that shows the difference.