fix(#5122): boards report lists only active members

Removing a member from a board marks the entry isActive:false (kept in
board.members for role history / re-activation), but the Admin Panel boards
report listed all member entries, so removed users still showed as members.
The report's userNames helper now filters to active members. The raw
GET /api/boards/:boardId response intentionally still returns the full members
array with isActive flags so API consumers can filter as needed.

Also documents #5630 (cannot save Layout settings) and #5117 (TeX rendered both
SVG and a math tag) as verified-resolved — both already fixed in current code
(Layout save handler no longer reads the moved accessibility fields; math
rendering migrated from markdown-it-mathjax3 to Temml/MathML).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lauri OjansivuandClaude Opus 4.8 committed 2026-06-23 07:12:47 +03:00
1 parent ba62449323
commit 0f45c0e392
2 files changed
+17 -1

No files matched your search

+13 -1
View File
@@ -57,14 +57,26 @@ This release fixes the following bugs:
throws `error-user-disabled`, and the REST `POST /api/boards/:boardId/members/:userId/add` endpoint returns HTTP 400,
when the target account is disabled (re-enabling the account allows the add again). Regression in
`tests/playwright/specs/17-rest-api.e2e.js`.
- [Admin Panel boards report listed removed members as current members](https://github.com/wekan/wekan/issues/5122),
[#5122](https://github.com/wekan/wekan/issues/5122): removing a member from a board marks the member entry
`isActive: false` (it is kept in `board.members` for role history / re-activation), but the Admin Panel → Reports →
Boards member column listed **all** member entries, so removed users still appeared as members. The report now
filters to active members (`isActive !== false`). (The raw `GET /api/boards/:boardId` response intentionally still
returns the full `members` array with each entry's `isActive` flag, so API consumers can filter as they need.)
and this issue is verified resolved in current code (could not reproduce / no error observed here; re-test on the
and these issues are verified resolved in current code (could not reproduce / no error observed here; re-test on the
reporter's data requested):
- [#5627](https://github.com/wekan/wekan/issues/5627) (rules not copied when creating a board from a template):
`board.copy()` already copies the board's rules + triggers + actions (remapping `boardId` and the rule's
`triggerId`/`actionId`); the report predates that code. Now covered by the #5592/#5627 copy regression in
`tests/playwright/specs/17-rest-api.e2e.js` so it cannot silently regress.
- [#5630](https://github.com/wekan/wekan/issues/5630) (cannot save Admin Panel Layout settings): already fixed — the
Layout save handler had referenced form fields that were moved to the separate Accessibility settings template,
throwing before the save; the current `js-save-layout` handler no longer reads those fields.
- [#5117](https://github.com/wekan/wekan/issues/5117) (a TeX formula rendered both an SVG and a `<math>` tag): already
fixed by migrating math rendering from `markdown-it-mathjax3` (which emitted both SVG and MathML) to **Temml**, which
outputs MathML only (`packages/markdown/src/template-integration.js`).
# v9.69 2026-06-23 WeKan ® release
@@ -364,6 +364,10 @@ Template.boardsReport.helpers({
},
userNames(members) {
const ret = (members || [])
// #5122: removing a member from a board marks it `isActive: false` (the
// entry stays in board.members for role history / re-activation). The
// boards report must not list those removed members as current members.
.filter(_member => _member.isActive !== false)
.map(_member => {
const _ret = ReactiveCache.getUser(_member.userId)?.username || _member.userId;
return _ret;