Add element into mapping error: Subsystem not found
search cancel

Add element into mapping error: Subsystem not found

book

Article ID: 275417

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

When mapping an element using BFG VS Code Extension, encountering 'Subsystem {} not found ' error. 

2023-08-30T15:03:11.911Z - Browse element uri: 
{"endevorService":{"location":{"protocol":"https","port":xxxx,"hostname":"your.domain.suffix","basePath":"/EndevorService/api/v2"},"credential":
{"type":"base-credential","user":"username","password":"*****"},"rejectUnauthorized":false},"bfgRepo":{"name":"NAME","context":"~user","location":
{"protocol":"https","hostname":"your.domain.suffix","port":xxxx},"credential":{"user":"user","tokenValue":"TOKEN VALUE"},
"rejectUnauthorized":false},"element":{"environment":"ENVNAME","stageNumber":"2","system":"SYSNAME","subSystem":"CURRENT","type":"SOURCE","name":"PPPPPP",
"configuration":"ENDEVOR"},"branchName":"BBBBB"}

2023-08-30T15:03:43.710Z - addToMapping command was called for: PPPPPP
2023-08-30T15:03:43.711Z - Setup Bridge for Git session: 
{"type":"basic","protocol":"https","hostname":"your.domain.suffix","port":xxxx,"user":"user","password":"*****","rejectUnauthorized":false,"basePath":"rest/
evcs/v1","strictSSL":true,"secureProtocol":"method,encoding":"*****"}
2023-08-30T15:03:44.237Z - Add element into mapping error: Subsystem 'CURRENT' not found. with details: undefined
2023-08-30T15:03:44.237Z - Could not add elements: ["PPPPPP"] into repo: NAME

Environment

Release : All Endevor 

Cause

The current logic expects the same system/subsystem naming throughout the Endevor map

Resolution

To  ensure that elements  can be added to the desired subsystem by having the extension focus on the desired destination and not do a compare up the map. 

Upgrade to Bridge For Git Explorer v0.4.1

Additional Information

other Expectation: "once an element is mapped, it should no longer be on the list"

This Option is not yet implemented 

Explanation

When element is added  using Bridge for Git Explorer,It is pulled into the repository for developers to edit in IDE. However, it is not yet pulled down in Endevor as well (because it has not been edited and synchronized).