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

admin panel throwing error while editing project with socials added #1882

Open
divine-comedian opened this issue Sep 19, 2024 · 9 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@divine-comedian
Copy link
Collaborator

divine-comedian commented Sep 19, 2024

"When you update the socials in the frontend side then go to the admin and edit a project an error is thrown"
- @CarlosQ96

Following up from Giveth/giveth-dapps-v2#4718 as reported by @WhyldWanderer

@divine-comedian
Copy link
Collaborator Author

@CarlosQ96 still needs time to investigate

@kkatusic kkatusic self-assigned this Oct 10, 2024
@kkatusic
Copy link
Collaborator

kkatusic commented Oct 10, 2024

@WhyldWanderer please can you find time try again to add social link end edit project insdie adminJS? thx ; cc @CarlosQ96

@WhyldWanderer
Copy link

WhyldWanderer commented Oct 14, 2024

I have tested and Im still receiving this error when trying to edit a project in the AdminBro when they have social media links attached to their project.
image

Im unsure how to get more information about the error when it comes up.
@kkatusic

Currently, any project that has added social media links to their profile is not editable for me in the AdminBro.

@kkatusic
Copy link
Collaborator

@WhyldWanderer can you provide me one project, I checked few and seems to ok on my side, thx

@WhyldWanderer
Copy link

WhyldWanderer commented Oct 15, 2024

Sure! It happens for me anytime that project has social media links on their project page:
image

such as these projects:
https://giveth.io/project/the-giveth-community-of-makers
https://giveth.io/project/defend-roman-storm
https://giveth.io/project/skatehive-skateboarding-community
https://giveth.io/project/soildao-steward-platform

If the project has no social media accounts attached, it works perfectly fine with no errors.

@kkatusic
Copy link
Collaborator

@WhyldWanderer I checked project that you provided inside AdminJS and didn't see any errors, also asked @CarlosQ96 to check and same on his side, no errors. I will ask you now to clear you cache or try in incognito/private browser window or another browser to check does error persist on your side. If errors occur again we can have a call and I can check on your screen. Thx

@divine-comedian
Copy link
Collaborator Author

@WhyldWanderer were you able to re-test this issue?

@CarlosQ96
Copy link
Collaborator

I was able to reproduce the issue. Seems to be a index error. Ill check out why the admin tries to reinsert same records of socials. It's posible a custom component or relationship is being loaded to memory when it shouldn't.

@divine-comedian
Copy link
Collaborator Author

was able to repro on production but not on staging - kind of knows where issue is but solution is kind of weird.

@CarlosQ96 investigate what the fix could be and provide estimate of when you could complete this issue.

@divine-comedian divine-comedian transferred this issue from Giveth/giveth-dapps-v2 Nov 28, 2024
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
Status: Product Backlog
Development

No branches or pull requests

4 participants