archesproject / arches

Arches is a web platform for creating, managing, & visualizing geospatial data. Arches was inspired by the needs of the Cultural Heritage community, particularly the widespread need of organizations to build & manage cultural heritage inventories
GNU Affero General Public License v3.0
210 stars 139 forks source link

Issue with related_resources_graph visualization on Stable 7.5.2 #10954

Open YuvalShafriri opened 1 month ago

YuvalShafriri commented 1 month ago

Hi, on ubuntu 24.04 - python 3.12 - stable 7.5.2, after adding more than one resource model that has relations and creating instances with related resources, the related_resources_graph raises an error when clicking on "related resources" in the results or clicking the * icon in the related filter tab. console log related-resources-graph.js:137 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'className') at dataToElement (related-resources-graph.js:137:98) at eval (related-resources-graph.js:324:27)

Steps to Reproduce:

YuvalShafriri commented 1 month ago

Hi, I have some additional information regarding the issue.

Now I see it doesn't happen consistently. Sometimes, after deleting, setting up, and reindexing, it does work; sometimes, it does not. I tried restarting the Django server on localhost and then running it on 0:8000 for remote access, and sometimes it works.

I am currently in a development environment and planning to move to Apache for production once I finish customizing the project.

how could it be to ensured this works consistently?.

Thank you!