-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Installed apps not appearing in the list if they're not published in the Marketplace #32534
Conversation
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: f592533 The changes in this PR will be included in the next version bump. This PR includes changesets to release 32 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #32534 +/- ##
===========================================
- Coverage 56.37% 56.37% -0.01%
===========================================
Files 2435 2437 +2
Lines 53728 53770 +42
Branches 11068 11082 +14
===========================================
+ Hits 30289 30311 +22
- Misses 20796 20812 +16
- Partials 2643 2647 +4
Flags with carried forward coverage won't be shown. Click here to find out more. |
47e1a7f
to
746d9a6
Compare
Proposed changes (including videos or screenshots)
In the internal apps provider, add non-private apps that are installed in the instance to the
installed
app list.Issue(s)
CONN-220
Steps to test or reproduce
NOTE: To test this, you will need access to the workspace's database
installationSource
tomarketplace
db.getCollection("rocketchat_apps").updateOne({ id: "YOUR APP ID" }, { $set: { installationSource: "marketplace" } })
This simulates the situation of an app unpublished from the Marketplace, as the record of the app will be present in the instance but not in the return from the Marketplace API
Further comments
Seeing this in the real world is relatively complicated without database access. The real world scenario that would cause this bug is a workspace installing an app from the Marketplace and later on this app being de-listed/unpublished from the Marketplace.