Describe the bug
Similar to #3550, the actual file uploads that Importer.Upload() attempts are done via relative paths. This results in the file not being found when the upload is attempted from a different working directory when using importer.Importer from another application.
To Reproduce
Steps to reproduce the behavior:
Attempt to upload an OVF using importer.Importer while having your working directory different to the OVF path.
Notice that the upload fails to find some of the files.
Expected behavior
The upload should happen successfully regardless of the current working directory.
Describe the bug Similar to #3550, the actual file uploads that
Importer.Upload()
attempts are done via relative paths. This results in the file not being found when the upload is attempted from a different working directory when usingimporter.Importer
from another application.To Reproduce Steps to reproduce the behavior:
importer.Importer
while having your working directory different to the OVF path.Expected behavior The upload should happen successfully regardless of the current working directory.
Affected version v0.43.0
Screenshots/Debug Output N/A
Additional context N/A