MoSys sources: piecemaker source has ghost annotations show up after dropping videos into grid
- drag video from Piecemaker source panel into grid
- videos list in source panel will show “ghost entry” with UUID as title
- after reload / navigating the ghost is gone
i found that this is not due to the query and also not happening in the method where the list items are fetched handleTimelineItemClick
. watching the video list (currentVideos
) shows that the list is being manipulated from somewhere, but there is no other reference to that variable anywhere in the codebase.
the issue is fixed now (bcfa183f) by not storing the result.items
returned from the API call but making copies of them … so i assume that the problem is in the API calls. grid will reload annotations, causing a change in the object returned as result.items
… which seems to be what causes the glitch in the source panel.