Skip to content
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

Can't have multiple isfs connections to the same real server with different credentials (via different intersystems.server entries) #235

Closed
isc-tleavitt opened this issue Aug 28, 2024 · 2 comments
Labels
question Further information is requested

Comments

@isc-tleavitt
Copy link

I have a workspace defined with two entries in intersystems.servers pointing to the same host/port/scheme but with different usernames. Trying to use an isfs folder with each of the server definitions, it seems that both are picking up the same username.

Is this expected / am I just trying to do something crazy? (Not sure if this falls here or in the main VSCode extension - feel free to move / redirect.)

Using the latest version of all extensions as of now:
intersystems-servermanager: v3.6.2
vscode-objectscript: v2.12.7

@isc-tleavitt isc-tleavitt added the question Further information is requested label Aug 28, 2024
@isc-bsaviano
Copy link
Contributor

@isc-tleavitt I couldn't reproduce this. Here's the server settings and code-workspace that worked for me:

"intersystems.servers": {
        "iris": {
            "webServer": {
                "scheme": "http",
                "host": "localhost",
                "port": 52773,
                "pathPrefix": "/iris"
            },
            "username": "_SYSTEM",
            "password": "<pwd>"
        },
        "local": {
            "webServer": {
                "scheme": "http",
                "host": "localhost",
                "port": 52773,
                "pathPrefix": "/iris"
            },
            "username": "SuperUser",
            "password": "<pwd>"
        },
        "/default": "iris"
    },
{
    "folders": [
        {
            "name": "iris:%SYS",
            "uri": "isfs://iris:%sys/"
        },
        {
            "name": "local:USER",
            "uri": "isfs://local:user/"
        }
    ],
    "settings": {
        "editor.insertSpaces": true,
        "editor.tabSize": 4,
        "editor.detectIndentation": false,
        //"intersystems.language-server.trace.server": "verbose",
        "objectscript.showExplorer": false
    },
    "launch": {
        "configurations": [
            {
                "name": "Attach",
                "type": "objectscript",
                "request": "attach"
            }
        ]
    }
}

@isc-bsaviano
Copy link
Contributor

Closing due to inactivity.

@isc-bsaviano isc-bsaviano closed this as not planned Won't fix, can't repro, duplicate, stale Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants