Skip to content

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

Open
@zFernand0

Description

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:

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority-lowLegit issue but cosmetic or nice-to-haveseverity-lowBug that makes the usage of the Zowe less convenient but doesn't impact key use casesv1V1 specific issues

    Type

    No type

    Projects

    • Status

      Low Priority

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions