-
Bug
-
Resolution: Done
-
Normal
-
6.18.0
-
2
-
False
-
Artemis Sprint 157, Artemis Sprint 158
-
sat-artemis
-
None
-
None
-
None
-
Automated
Tested on Foreman 3.16/Katello 4.18
If you try to mirror a Flatpak repository and miss the product ID, the error message is a bit cryptic. Instead, it should tell users that either the product name or product id is mandatory:
<pre>
$ hammer flatpak-remote remote-repository mirror --id 1257 --flatpak-remote-id 2
Could not mirror the Flatpak remote repository:
undefined method `id' for nil:NilClass
$ hammer flatpak-remote remote-repository mirror --id 1257 --flatpak-remote-id 2 --product-id 354
[........................................................................................] [100%]
$ echo $?
0
</pre>
"foreman-debug" shows a lot of stuff; see the attached log.