archesproject / arches-her

6 stars 12 forks source link

"Delete record" button doesn't always show on card #1347

Open SDScandrettKint opened 2 weeks ago

SDScandrettKint commented 2 weeks ago

Below is a video demonstrating the issue. In this, I show refreshing the page and the error showing in the Advice card. Refreshing the page again shows the "Delete Record" button showing again. Then opening the resource in a new tab will once again show the error. The error can be fixed by making an edit in one of the nodes, or zooming.

https://github.com/user-attachments/assets/a93ab40c-f9c8-45ec-a14e-0bf8f9e0608a

I can only get the issue to present itself on the Advice cards. Other nodes such as Communications does not show the issue. For this reason, I can't be sure what is causing the issue.

The following Ckeditor error also shows in the console, though it is unknown whether related. Note that opening the console also fixes the issue which isn't helpful for trying to diagnose! image

A very confusing issue and hard to replicate at times.

If anyone else can try to replicate then that'd be greatly appreciated.