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 #4759

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

Comments

@divine-comedian
Copy link
Contributor

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 #4718 as reported by @WhyldWanderer

@github-project-automation github-project-automation bot moved this to New Issues in All-Devs Sep 19, 2024
@divine-comedian divine-comedian added the bug Something isn't working label Sep 19, 2024
@divine-comedian divine-comedian moved this from New Issues to In Progress in All-Devs Sep 19, 2024
@divine-comedian divine-comedian moved this from In Progress to Product Backlog in All-Devs Sep 30, 2024
@divine-comedian
Copy link
Contributor Author

@CarlosQ96 still needs time to investigate

@kkatusic kkatusic self-assigned this Oct 10, 2024
@kkatusic kkatusic moved this from Product Backlog to In Progress in All-Devs 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
Contributor 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.

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: In Progress
Development

No branches or pull requests

4 participants