Repository navigation
fix app open when multiple app providers are present - #2118
Conversation
|
I had a look at the code but there's something I don't understand, will discuss it with @ishank011 and @gmgigi96. |
Is there something I can help you? |
|
@wkloucek looks good. Ideally |
That was already there ( reva/internal/grpc/services/gateway/appprovider.go Lines 307 to 309 in 9c827f8 |
|
Okay yes, my bad. Can you just move the code you added below the |
|
Also, sorry for the repeated reviews, but can you also remove the check |
changed 👍
That should stay... Image the user requesting an app that doesn't exist. The user would then get the only app existing, which is not the app, the user requested. |
But your code should take care of that, right? |
You're right, sorry... |
Bugfix: Fix app open when multiple app providers are present
We've fixed the gateway behavior, that when multiple app providers are present, it always returned that we have duplicate names for app providers.
This was due the call to GetAllProviders() without any subsequent filtering by name. Now this filter mechanism is in place and the duplicate app providers error will only appear if a real duplicate is found.
Introduced in #2095