mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6549] [Issue]: Blank Custom Tracker fields permanently crash Roleplay chats #3669
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3669
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Sep 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6549
Originally assigned to: @SpicyMarinara on GitHub.
Summary
A blank or nameless Custom Tracker row, such as an agent-emitted
{}, can be persisted in a Roleplay chat's tracker state. Opening the affected chat then permanently crashes the app while rendering the tracker HUD.Expected behavior
The Tracker HUD should render even when agent output contains blank or nameless fields, and invalid blank fields should not be saved to tracker state.
Actual behavior
Opening a chat with a persisted blank Custom Tracker row throws
TypeError: can't access property "split", f is undefinedin the RoleplayHUD Custom Tracker widget. AppRecoveryBoundary catches the error, causing the entire app to crash for that chat on every reload.Steps to reproduce
{}incustomTrackerFields.Environment
77e06ab3aand main 2.4.6Logs, screenshots, or video
Error:
TypeError: can't access property "split", f is undefined, thrown in the RoleplayHUD Custom Tracker widget and caught by AppRecoveryBoundary. No screenshots or video provided.Additional context
Severity is medium: the crash is unrecoverable for the affected chat unless raw storage JSON is edited by hand, but it is scoped to that chat with no reported security or data-loss impact. The reporter has a tested fix that filters blank or nameless rows in
resolveTrackerRowsUpdate, also protecting Inventory Tracker and present-characters through the same code path, with a defense-in-depth widget guard and regression test. pnpm lint, format check, and regression tests pass on the fix branch.Discord thread: TypeError: can't access property "split", f is undefined due to blank Custom Tracker field
Discord thread link: https://discord.com/channels/1417099416812392641/1552031426130485289
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (2 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Sep 23, 2026):
Fixed in #6554, now merged into staging. Saved blank Custom Tracker rows no longer crash Roleplay, and new nameless fields are removed after applying field locks.