-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export (Mac) not handling relative paths with a ~ #41
Comments
|
@yannick-beot-sp that is entirely fair. I'm not sure what type of default save-to location i would even propose, but as we are populating a filename into the default value, my assumption would be fore it to work. or, put another way: |
Export is not failing case. It is just exporting where you do not know which is either the home folder or VSCode folder. |
I started to work on being able to set the default path proposition in the settings vscode-sailpoint-identitynow/package.json Line 622 in 63aaef6
The idea is to extend what I just did for new reports to SP-Config exports. With this capability, you could hard code a path to export to (within your home dir or not), set the architecture of files and folders you want, have dates or not in the filename, etc. |
Describe the bug
while exporting (r-click, export sp-config), the default path/filename doesnt work, and ~/Desktop/file.xml fails.
To Reproduce
Using VSCode for mac:
right click on a source
Select "Export SP-Config"
in the "Enter the file name" box, its prepopulated with some data. hit enter
"Error running command..." error
try again, enter ~/Desktop/file.json
"Error running command"
try again, with /usr/admin/Desktop/file.json
Success
Expected behavior
the "Default" filename should provide a valid export, saved... somewhere.
relative paths on mac using the ~ operator should be successful, i.e. ~/Desktop/filename.json
Screenshots
Environment
Provide a screenshot of Help > About.
Logs
[Extension Host] Writing to identitynowconfig-TENANT-sb.identitynow.com-NetSuite INTQA-2023-03-03T14-27-23.json
Error running command vscode-sailpoint-identitynow.export-node-config.view: A system error occurred (EROFS: read-only file system, open 'identitynowconfig-TENANT-sb.identitynow.com-NetSuite-2023-03-03T14-27-23.json'). This is likely caused by the extension that contributes vscode-sailpoint-identitynow.export-node-config.view.
The text was updated successfully, but these errors were encountered: