Skip to content

[Bug]: saveSession asACopy doesn't work #914

@mircotornow

Description

@mircotornow

What happened?

When trying to save a session only as a copy (shouldn't become the current sessions name) it still saves it normally.
There doesn't seem to be a difference between asACopy=false or true.

commands.saveSession(<fileName>, asACopy=true)
-> This is the same in mu and python

From the documentation (mu command api):

Function: saveSession

Path: commands.saveSession

saveSession (void; 
              string fileName,
              bool asACopy = false,
              bool compressed = false,
              bool sparse = false)

Description
Save a .rv file for the session as fileName. If asACopy is true then fileName will not become the session's file name. If compressed is true the file will be a compressed binary .rv file otherwise it will be human readable UTF-8 encoded text file. If sparse is true the session file will not contain most properties that still have their default values.

Tested on: OpenRV 2.2.0

List all the operating systems versions where this is happening

Windows 10, AlmaLinux9

On what computer hardware is this happening?

any

Relevant console log output

/

Environment variables

No response

Extra information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions