lichess.org
Donate

[Bug] Bulk edit chapters fails with "editForm.current is not a function" error

WS000000.JPG

Environment

  • Browser: Google Chrome (Latest)
  • Display Setup: Vertical monitor / portrait layout
  • Active Extension: LiChess Tools only (All other extensions/scripts were disabled for testing)

Description

When attempting to bulk edit chapters in a Study, clicking the "EDIT" button does not open the edit dialog and nothing happens on screen.

Error Log

Checking the browser console reveals the following TypeError:
Uncaught TypeError: editForm.current is not a function at ChapterEditingTool.editSelectedChapters (tool.js:193:16)

Steps to Reproduce

  1. Open a Study on Chrome (vertical screen layout).
  2. Select multiple chapters using LiChess Tools.
  3. Click the "EDIT" button.
  4. The modal fails to open and the TypeError is logged to the console.
![WS000000.JPG](https://image.lichess.org/display?op=noop&path=fMHbKwgNY1MI.jpg&sig=2807a918ddde7cb820ef4ff30f66b70c89def259) ### Environment - Browser: Google Chrome (Latest) - Display Setup: Vertical monitor / portrait layout - Active Extension: LiChess Tools only (All other extensions/scripts were disabled for testing) ### Description When attempting to bulk edit chapters in a Study, clicking the "EDIT" button does not open the edit dialog and nothing happens on screen. ### Error Log Checking the browser console reveals the following TypeError: `Uncaught TypeError: editForm.current is not a function at ChapterEditingTool.editSelectedChapters (tool.js:193:16)` ### Steps to Reproduce 1. Open a Study on Chrome (vertical screen layout). 2. Select multiple chapters using LiChess Tools. 3. Click the "EDIT" button. 4. The modal fails to open and the TypeError is logged to the console.

yeah, people keep refactoring stuff for no good reason in Lichess... on it.

yeah, people keep refactoring stuff for no good reason in Lichess... on it.

Join the L1Chess Tools Users Team team, to post in this forum