#3167 ini_config_augment: merge_flags detect behavior incorrect
Closed: fixed Opened by cipherboy.

This happens when a config section is duplicated between a config file and a config directory (either with the same or different contents).

If ERROR/DETECT are set in merge_flags or collision_flags on ini_config_augment, error=17 is returned from ini_aug_apply, which causes the error_list to be discarded in ini_config_augment. When MERGE/PRESERVE/OVERWRITE are instead set as flags (on merge_flags and collision_flags in various combinations), error_list is empty as merging happens silently. Thus it is impossible to determine what the offending file or section is.


(blocking https://pagure.io/gssproxy/pull-request/202, https://pagure.io/gssproxy/issue/194)

If this ticket is blocker with high priority then it would be good to provide patch.
Because most of contributors are busy with other projects.

Indeed. A good catch. Let me know, I will review the patch when available.

Metadata Update from @jhrozek:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1469759

Master:
- fd539954e68ae49e6670f49e3ff3300cac3e4739
- 3163a969bbcd10c4d9e48e191f978c6991ac01cd
- e322192d1711677e78b197915b1a12537a0e510b

Metadata Update from @mzidek:
- Custom field component adjusted to None
- Custom field selected adjusted to None
- Custom field type adjusted to None
- Custom field version adjusted to None

Metadata Update from @mzidek:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata