PalisadoesFoundation / talawa-admin

Admin portal for the Talawa Mobile App. Click on the link below to see our documentation
https://docs.talawa.io/
GNU General Public License v3.0
135 stars 548 forks source link

Bug: Error on fetching Installed plugins #1754

Open lakshz opened 6 months ago

lakshz commented 6 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Click on "Manage" for an Organization on /orglist
  2. Navigate to Plugin > Plugin Store
  3. Click on Installed to get the installed Plugins
  4. The error should appear with the following message: Screenshot 2024-03-21 at 01 14 54

Expected behavior There should be no errors, and the installed plugins for an organization should be shown.

Additional details The error is probably coming from the src/components/AddOn/support/services/Plugin.helper.ts file, which uses process.env.PORT in the fetch path. process.env.PORT is undefined.

Screenshot 2024-03-21 at 01 25 05

Potential internship candidates Please read this if you are planning to apply for a Palisadoes Foundation internship https://github.com/PalisadoesFoundation/talawa/issues/359

M-SAI-SOORYA commented 6 months ago

Can you assign this issue to me?

Cioppolo14 commented 6 months ago

@M-SAI-SOORYA Our policy is to assign no more than two issues to each contributor across all repositories. This way everyone gets a chance to participate in the projects. We sometimes give exceptions for more urgent cases and sometimes we lose track, but the policy stands. You have reached your limit, please wait until your existing issues are closed before requesting more issues. You could unassign yourself from one of the other issues too.

varshith257 commented 6 months ago

@palisadoes Can I get this issue assigned? It is related to my GSOC Project Proposal. It will get me exposed more to the Plugin system in our Talawa. Will work on it if time persists before GSOC Applications deadline

varshith257 commented 6 months ago

Will work on it soon.

varshith257 commented 6 months ago

Working on it

varshith257 commented 6 months ago

I didn't see any bug on this. Let me clarify with others and give a final decision on this issue.

github-actions[bot] commented 5 months ago

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.

varshith257 commented 5 months ago

Fixing the bug. Will submit a PR ASAP

varshith257 commented 5 months ago

@lakshz It's working fine with Installed plugins but error producing to fetch available plugins and the error is with output types. The return type is json but it producing html format. Fixing it