Actions
Bug #36146
closedNeed a better warning message for empty incremental export
Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
Incremental export does not handle content view versions with no repositories.
- Create a content view version with a repo
- Remove the repo from the content view and publish again (Version 2.0 should not have any repos)
- Do a "complete" export of version 1
- Do an "incremental" export of version 2
Expected:
Error along the lines of "You cannot incrementally export since this version has no repositories"
Actual:
HTTP status code: 400 Response headers: {"Date"=>"Tue, 14 Feb 2023 20:55:40 GMT", "Server"=>"gunicorn", "Content-Type"=>"application/json", "Vary"=>"Accept,Cookie", "Allow"=>"GET, POST, HEAD, OPTIONS", "X-Frame-Options"=>"DENY", "Content-Length"=>"136", "X-Content-Type-Options"=>"nosniff", "Referrer-Policy"=>"same-origin", "Correlation-ID"=>"b4463ab7-828a-4bf8-9839-eafcc3634cb0", "Access-Control-Expose-Headers"=>"Correlation-ID", "Via"=>"1.1 dhcp131-67.gsslab.pnq2.redhat.com", "Connection"=>"close"} Response body: {"non_field_errors":["Incremental export can only be requested when there is a previous export or start_versions= has been specified."]} undefined method `output_file_info' for nil:NilClass
Updated by The Foreman Bot over 1 year ago
- Status changed from New to Ready For Testing
- Assignee set to Partha Aji
- Pull request https://github.com/Katello/katello/pull/10468 added
Updated by The Foreman Bot over 1 year ago
- Fixed in Releases Katello 4.8.0 added
Updated by Ian Ballou over 1 year ago
- Status changed from Ready For Testing to Closed
- Fixed in Releases deleted (
Katello 4.8.0)
Closing -- upstream PR is merged.
Updated by Partha Aji over 1 year ago
- Target version changed from Katello 4.9.0 to Katello 4.8.0
- Triaged changed from No to Yes
Actions