Comments (3)
The problem is because loadRepositories() is called during initialization. Inside this function it reads the settings.json and then calls the addSession() function if the profile is not added to the tree. I suggest 2 ways to handle this:
- remove loadRepositories in the the activation and put it somewhere else
- add a validation that if the profile found in setting.json and also found in allProfiles() then continue with addSession else ignore.
from che-che4z-explorer-for-endevor.
Thanks for looking into this, Jelly.
I would go with the second approach. It seems more straightforward as opposed to discussing the "where" we would move loadRepositories()
and other associated implications.
Things to take into consideration (possible enhancements to the process):
- should we add a warning so that the user is aware?
- should we offer to auto fix this ? (can be even an options in endevor settings)
- log these findings (miss-match between settings and actual profiles) in the output channel at least on trace level to help with debugging (really nice to have from the start)
from che-che4z-explorer-for-endevor.
This is already implemented in v0.12.1
from che-che4z-explorer-for-endevor.
Related Issues (20)
- include the Ccid filter for the inventory search HOT 4
- Unable to retrieve elements based on their names individually HOT 4
- MFA support HOT 2
- Upgrade the publishing GH actions versions to v1 HOT 1
- [Workspace sync] Sync operation takes a lot of time on big inventory locations HOT 3
- Ability to view generated C headers ( *.CHDSECT) from ASMCHDR elements HOT 1
- Option for E4E to submit GENERATE batch job HOT 7
- E4E - Generate element automatically after save/update HOT 6
- Ability to edit internal element locations
- Add APIML token support HOT 2
- Workspace Sync : pulls with signout HOT 4
- Update Option HOT 2
- Keep the file open in the editor after a save or update Endevor action HOT 2
- Listing file tab gets overwritten. HOT 6
- Facing EWS1100E error in Explorer for Endevor while compiling the code. HOT 11
- Deleting an element isn't enabled in Explorer for Endevor HOT 1
- Show Listing after Generate with Copyback HOT 4
- More options when selecting multiple elements HOT 1
- ESEARCH through Endevor Explorer HOT 2
- Fetch Elements from up the Map with return first found HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from che-che4z-explorer-for-endevor.