Skip to content

Adding proto file(s) and then saving them doesn't keep them in the files table/list #6760

@FreaKsD

Description

@FreaKsD

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.0.2

Operating System

Windows 11 Pro 26200.7462

Describe the bug

I seem to have a bug with adding and saving proto file in collections settings.
It works when I add and save it in a collection already existing (like Sample API Collection) and it works too with the Grpcbin collection I fetched from Bruno.
But it doesn't work when adding them in a collection I personally created.

Here's the steps to reproduce

  1. Create a collection (either in custom or default workspace)
  2. Set the location to C:\Users<MyUser>\Documents<Random folder>
  3. Go in the collection settings > Protobuf
  4. Click on "Add Proto File" and select a proto file (for my example the proto file is located here : C:\GitHub<GitProject>\sources<ProtoProject>)
  5. The file appear in the table (in the collection settings)
  6. Then click "Save" > all added proto files will disappear.
    When doing it in "default" collection, it works, the added file are saved and stay in the table.

I have the same issue where the proto file is not kept after adding it directly in a Grpc request.
But it's different from the 1st issue as this happens everywhere. Even in "default" collection.

Step to reproduce :

  1. Create a new Grpc request with whatever name and URL you want
  2. Click on "select proto file"
  3. Select a proto file
  4. The file is added "correctly" as I'm able to select a method from the proto file but the file is not listed in the view when you click on "select proto file"
  5. If I switch to "Reflection" and go back to "Proto file", the method selection disappear and I must add the proto file again

.bru file to reproduce the bug

No response

Screenshots/Live demo link

Image after saving : Image

second issue :

Image the file is not listed : Image after switching to "Reflection" and going back to "Proto File" : Image

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