mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
Three email reports, 2026-08-13. "PREVIOUSLY ARCHIVED CARDS (SOME SEVERAL YEARS OLD) HAVE REAPPEARED. THESE CARDS HAVE INCORRECTLY BEEN PLACED IN THE TOP SWIMLANE." The schema upgrade's swimlane rescue treated "this card's swimlane is archived" as breakage and moved the card to the board's first VISIBLE swimlane. But archiving a swimlane is how a whole swimlane is put away: its cards stay where they are, archived: false, hidden because the swimlane is hidden. So every card anybody had ever archived that way was hoisted back into view, years later, in the top swimlane. A card is orphaned when its swimlane does not EXIST, or belongs to another board - #1959, which is still rescued. loadVisibleSwimlanes now also returns existsById, and both the check and the write use it. #1971, the issue the sweep cited, is about cards ADDED in List view landing in an archived swimlane, and that is fixed where cards are created: getDefaultSwimline() picks a non-archived swimlane. It never needed a sweep over data somebody archived on purpose. The two guards that pinned the sweep now pin the opposite, with the reason in them. "SILENT DOES NOT RESPOND. IF WE TRY TO CHANGE IT DOES NOT CHANGE. NOTHING HAPPENS." (the board's Change watch popup) Driven against a running WeKan, the popup works for a board MEMBER - level written, check mark moved, popup closed - and does nothing at all for anybody who reaches the board another way: login as non-member admin: ok watch -> ERROR error-board-notAMember A board is shared four ways: membership, an organisation, a team, and (#5850) an email domain. Only the first puts anybody in `members`, and the watch method asked hasMember(). Everyone sharing through an org, a team or a domain could open the board, see the button, and be refused the moment they used it. It now asks whether the user may SEE the board, through the same boardVisibilitySelectors the publications use, so a watch can never be granted where the board is not visible - and a revoked share (isActive: false) still is not. The other half is why nobody could tell: the popup closed on success and did NOTHING otherwise, so a refusal was indistinguishable from a dead button. It reports the reason now - the watch feature being off in the Admin Panel, or the board not being visible - and en.i18n.json gains error-watch-disabled, which was thrown but never translated. The click also reads its level with String(), since Blaze can hand back a boxed String that `typeof x === 'string'` refuses. Thanks to xet7 !