Project

General

Profile

Actions

Bug #20744

open

Hammer hardcodes name label in csv adapter

Added by Marek Hulán almost 7 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
Difficulty:
Triaged:
Yes
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

For resources that don't have name, it's not possible to use a different word identifier attribute when using CSV adapter. Id and Name is hardcoded at https://github.com/theforeman/hammer-cli/blob/master/lib/hammer_cli/output/adapter/csv.rb#L174-L196. In foreman_openscap, scap-content only has title but no name. Found during verification of https://github.com/theforeman/foreman_openscap/pull/275

Actions #1

Updated by Tomáš Strachota almost 7 years ago

  • Category set to Hammer core
Actions #2

Updated by Ondřej Pražák over 4 years ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF