Project

General

Profile

Actions

Bug #35410

closed

Pathing issue on exports

Added by Partha Aji over 2 years ago. Updated over 2 years ago.

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

Description

Syncable Exports introduced an issue with path names. It uses the content view name + version and generates paths that look like

/var/lib/pulp/exports/Test_Organization/Test CV/1.0/2022-08-03T00-17-11-00-00/metadata.json
instead of
/var/lib/pulp/exports/Test_Organization/Test_CV/1.0/2022-08-03T00-17-11-00-00/metadata.json

The CV name has a space in it on the expanded path. While this in itself is not a big issue it seems break the bats tests.

  • Create a CV name with a space in it
  • Add a simple custom repo or rh repo with `immediate` download policy
  • Publish
  • Export the content view version via hammer.
    hammer content-export complete version --id=<cvv-id> 

Actual path

/var/lib/pulp/exports/Test_Organization/Test CV/1.0/2022-08-03T00-17-11-00-00/metadata.json
with the space

Expected path

/var/lib/pulp/exports/Test_Organization/Test_CV/1.0/2022-08-03T00-17-11-00-00/metadata.json
with no space

Actions

Also available in: Atom PDF