Description of problem: When performing an 'export' of an enhanced report the column names are not lining up to the displayed text in the webui. Example: "checkin_date" instead of "CHECKIN-IN TIME" "identifier" instead of "SYSTEM ID" "splice_server" instead of "SATELLITE SERVER" ... Steps to Reproduce: 1. Create a filter 2. Select 'Export' 3. Open export and look at export.csv 4. Examine first row which has the header values Actual results: _id, record, checkin_date, status, identifier, splice_server, systemid, hostname, organization_name, state Expected results: _id, record, CHECK-IN TIME, STATUS, SYSTEM ID, SATELLITE SERVER, SYSTEM ID, HOSTNAME, ORGANIZATION, LIFECYCLE STATE, Additional info:
Fixed in: https://github.com/splice/splice-reports/commit/2dcb07d8afdab703a0eb9a77eb31c72a91cd59f4 Will be in: rubygem-splice_reports-0.0.5-39-sat
% head -1 export.csv _id, record, CHECK-IN TIME, STATUS, SYSTEM ID, SATELLITE SERVER, SYSTEM ID, HOSTNAME, ORGANIZATION, LIFECYCLE STATE, We meet "SYSTEM ID" field twice and it means different things: katello id and satellite id. Was it supposed to be this way?
Changed an extra header field of "SYSTEM ID" to "DB ID", this corresponds to the mongodb id of the original record the aggregation query returned. https://github.com/splice/splice-reports/commit/ba04ad857cae0605efb73dd82aba68094a3b1220
Lates build (Snap4) should contain these fixes. Please test on Snap4.
Verified with Snapshot 6 % head -1 export.csv _id, record, CHECK-IN TIME, STATUS, DB ID, SATELLITE SERVER, SYSTEM ID, HOSTNAME, ORGANIZATION, LIFECYCLE STATE,
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1390.html