Skip to content

Conversation

@aarnapant-sap
Copy link
Collaborator

Changed thread for initial externalRepoInfo and packageRefFind call from "main" to "ModalContext"

try {
getPackageRef(packageName, new NullProgressMonitor());
// fetches repository access mode
getRepositoryAccessMode();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In communication log I checked that there are two calls made to get the externalrepoInfo.
One here and another in the credentials page.
Do we need both ?

@Override
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
try {
getPackageRef(packageName, new NullProgressMonitor());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the package check fails and results in an exception, the wizard still tries to open and fails currently in the Credentials page.
Either we need to somehow stop opening of the wizard if there is an exception or continue have this call in main thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants