#9756 ipa dnsrecord-* --raw --structured throws internal error
Closed: fixed by sumenon. Opened by dhanina.

Example (the command doesn't really matter till it's dnsrecord-*)

ipa dnsrecord-find target.test --raw --structured
ipa: ERROR: an internal error has occurred

--raw and --structured are incompatible, we need to report that they are incompatible, mention it in the man pages and pretty print a nice message instead of Internal error. We should also add tests to confirm this.


Metadata Update from @dhanina:
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-81200

A traceback will be present in /var/log/httpd/error_log to show exactly where this is failing.

Metadata Update from @rcritten:
- Custom field rhbz reset (from https://issues.redhat.com/browse/RHEL-81200)

Metadata Update from @dhanina:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/7715

Metadata Update from @dhanina:
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-81200

master:

  • b917b320a856bcedd313721e85c962a885095dfd Disable --raw and --structured together

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

ipa-4-12:

  • 653b4b6971b1778988718840a301c10b3e35e700 Disable --raw and --structured together

master:

  • ea374e83460a35cfca1caed7357fe1b70ffd7fab Correct dnsrecord_* tests for --raw --structured

ipa-4-12:

  • d3e9e35ef73729956c649f2ee0d0ff3963f99e4e Correct dnsrecord_* tests for --raw --structured
Metadata