Skip to content

Relative paths break when opencollection.yml edited manually #7858

@nkopas

Description

@nkopas

I have checked the following:

  • I have searched existing issues and found nothing related to my issue.

This bug is:

  • making Bruno unusable for me
  • slowing me down but I'm able to continue working
  • annoying
  • this feature was working in a previous version but is broken in the current release.

Bruno version

3.3.0

Operating System

Windows 11 26200.8313

Describe the bug

Steps to recreate...

  1. Create new Collection.
  2. Add new Request with MultiPart Form Body Value referencing a file local to the Collection.
  3. Close Bruno.
  4. Review contents of Request YAML, filename reference will be relative path.
  5. Make an inconsequential edit to opencollection.yml. (e.g., extra linefeed to the bottom)
  6. Open Bruno.
  7. Delete the MultiPart Form Body Value from the previously created Request. Save changes.
  8. Add the same MultiPart Form Body Value referencing a file local to the Collection from the previously created Request. Save changes.
  9. Review contents of Request YAML, filename reference will be full path.

NOTE: If you remove and re-add the Collection, then repeat steps 7-8 above... filename reference will be relative path again.

.bru file to reproduce the bug

RelativePathBug.zip

Screenshots/Live demo link

RelativePathBug.mp4

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions