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

V1: Extension won't load if a profile in loadedCICSProfile does not exist #106

Open
zFernand0 opened this issue Feb 15, 2024 · 1 comment
Labels
bug Something isn't working priority-low Legit issue but cosmetic or nice-to-have severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases v1 V1 specific issues

Comments

@zFernand0
Copy link
Member

Describe the bug

The CICS extension can fail to load if there used to be a CICS profile loaded that no longer exists.
For example:

  "Zowe.CICS.Persistent": {
    "persistence": true,
    "programSearchHistory": [],
    "transactionSearchHistory": [],
    "localFileSearchHistory": [],
    "loadedCICSProfile": [
        "myOldCicsProfle" // This profile was removed or renamed
    ],
    "regionSearchHistory": []
  },

Expected and actual results

Expected that the CICS extension would let me add a new V1 profile.
And maybe just remove any non-existent profiles while doing so.

Actual:

Error running command cics-extension-for-zowe.addSession: 
command 'cics-extension-for-zowe.addSession' not found. 
This is likely caused by the extension that contributes cics-extension-for-zowe.addSession

Describe your environment

All V1, and making use of the SCS plugin and the Zowe-Plugin setting

Additional context

This could be related to:

@zFernand0 zFernand0 added bug Something isn't working priority-low Legit issue but cosmetic or nice-to-have severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases v1 V1 specific issues labels Feb 15, 2024
@zowe-robot zowe-robot moved this from New Issues to Low Priority in Zowe Explorer for VS Code Feb 15, 2024
Copy link

Thank you for creating a bug report.
We will investigate the bug and evaluate its impact on the product.
If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-low Legit issue but cosmetic or nice-to-have severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases v1 V1 specific issues
Projects
Status: Low Priority
Development

No branches or pull requests

1 participant