Skip to content
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

Bug Report: Installed Plugins are not fetched correctly and showing errors. #1009

Closed
skbhagat0502 opened this issue Oct 26, 2023 · 14 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@skbhagat0502
Copy link
Contributor

Describe the bug
When I click on the installed plugins button available at the plugin store page, it shows plugins does not exists even if there are plugins installed. Also after a few milisecond the following error is shown.

Screenshot 2023-10-26 091859
Screenshot 2023-10-26 091826
Screenshot 2023-10-26 092228

To Reproduce
Steps to reproduce the behavior:

1.Login
2.Go to your organisation dashboard.
3.Click on plugin and then plugin store.
4.Click on installed button to see installed plugins.

Expected behavior
All installed plugins should be there.

Actual behavior
Throwing an error as shown in picture.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional details
Add any other context or screenshots about the feature request here.

Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship PalisadoesFoundation/talawa#359

@skbhagat0502 skbhagat0502 added the bug Something isn't working label Oct 26, 2023
@skbhagat0502
Copy link
Contributor Author

@palisadoes , Please assign me this issue.

@palisadoes
Copy link
Contributor

@SiddheshKukade Please comment on this.

@palisadoes
Copy link
Contributor

Unassigning until @SiddheshKukade comments. He's working on fixing the plugin architecture

@skbhagat0502
Copy link
Contributor Author

Ok @palisadoes

@SiddheshKukade
Copy link
Member

Hello, I've checked and everything's working on my side. I've also made multiple demo video about plugins and setting them up one YouTube that you can check on the channel.

@skbhagat0502 to check this on your machine can you just put a screenshot of your MongoDB plugins collections ?

The most probable reason behind this is happening is that you don't that data in the db. But I've previously made a script that makes sure to put out that data. So maybe you've made some changes in Talawa-api index file.

@skbhagat0502
Copy link
Contributor Author

image
@SiddheshKukade I looked at my MongoDB collections and there is a collection of plugins available. I have attached the screenshot above.

@skbhagat0502
Copy link
Contributor Author

@SiddheshKukade @palisadoes I found that after creating a new organisation and going to the plugin store. all the plugins have the uninstall button as they were already installed but I have not installed any of them or not have choosen the option for all plugins. I think the flow should be like there should be Install button and clicking on It should change it to uninstall. Should I create an Issue for this.

@skbhagat0502
Copy link
Contributor Author

Also I am still getting the error when trying the get the installed plugins. I also checked my repositories they are well synced with the upstream. I think may be it is just an issue on my laptop but I am not able to figure out the reason for that.

@SiddheshKukade
Copy link
Member

image
@SiddheshKukade I looked at my MongoDB collections and there is a collection of plugins available. I have attached the screenshot above.

@skbhagat0502 Can you show the contents of that collection ?

@SiddheshKukade
Copy link
Member

@SiddheshKukade @palisadoes I found that after creating a new organisation and going to the plugin store. all the plugins have the uninstall button as they were already installed but I have not installed any of them or not have choosen the option for all plugins. I think the flow should be like there should be Install button and clicking on It should change it to uninstall. Should I create an Issue for this.

@skbhagat0502 Yes this flow is decided my me after taking a lot of feedback from mentors and other contributors over the past few months. This reduces the complexity of the code and the primary features of the org should be accessible.
We are not looking forward to change any of that. You can also look at some videos from Palisadoes Channel to understand the reason behind this.

@palisadoes
Copy link
Contributor

Should this be closed?

@skbhagat0502
Copy link
Contributor Author

image
@SiddheshKukade I looked at my MongoDB collections and there is a collection of plugins available. I have attached the screenshot above.

@skbhagat0502 Can you show the contents of that collection ?

image
This is the content of the plugins collection.

Copy link

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@skbhagat0502
Copy link
Contributor Author

Closing this as @SiddheshKukade has already resolved this issue in his PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants