Project

General

Profile

Bug #25857

Content View Version export breaks while exporting to relative path

Added by Chris Roberts 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Description of problem:
Content View Version export breaks while exporting the CVV contents to relative path folder. But works when we provide the absolute path.

Version-Release number of selected component (if applicable):
Satellite 6.5.0 snap 1

How reproducible:
Always

Steps to Reproduce:
1. Publish the CV with contents.
2. Export the CVv contents to a relative path folder.

Actual results:
The CVv export to relative path fails with the error below:
  1. hammer content-view version export --export-dir ExportedCV --id 2
    tar: ExportedCV/export-2/export-2-repos.tar: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now

Expected results:
The CVv export to relative path should work or should ask the user to provide the absolute path

Additional info:
The CVv export to absolute path works.

Associated revisions

Revision 03658ddb (diff)
Added by Chris Roberts 8 months ago

Fixes #25857 - Make export dir always absolute (#616)

History

#1 Updated by The Foreman Bot 8 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/616 added

#2 Updated by Chris Roberts 8 months ago

  • Status changed from Ready For Testing to Closed

#3 Updated by Andrew Kofink 8 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.12.0

#4 Updated by Jonathon Turel 8 months ago

  • Target version changed from Katello 3.12.0 to Katello 3.11.0

Also available in: Atom PDF