OpenRefine / OpenRefine/CommonsExtension

Make sure thumbnails can never block the rendering of the whole grid

Open
#99 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
29
Forks
12
PR merge metrics
No merged PRs in 30d

Description

In some circumstances the code that renders thumbnails into cells can fail and that will abort the rendering of the entire grid.

See this forum post for instance: https://forum.openrefine.org/t/openrefine-3-7-9-released/1259/9?u=antonin_d

We should make sure that any exception thrown in our cell renderer is caught appropriately and a fallback is used, so that the rest of the grid is still rendered.
This safety mechanism should also be implemented on OpenRefine's side of the extension point.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked forum report, then trace the thumbnail cell renderer and OpenRefine's side of the extension point. Check how renderer exceptions currently propagate and identify the existing fallback behavior. Done means a failing thumbnail cannot abort the grid, and the remaining cells still render.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.