Skip to content

Murder mystery: notepad only saves one predefined note fetched from Toto #42

@nikolay-panovski

Description

@nikolay-panovski

Steps to reproduce the problem

  1. Open the app with an implementation of "Murder mystery" featured (, MM-notepad branch, or any derivative or merger).
  2. Go to the character card in "Murder mystery" quest (see Murder mystery notepad #40 for details).
  3. Go back out to quest view. Solve at least 2 of the newly opened tasks.
  4. Go to the notepad in the character card.

Expected Behavior

A note is displayed in the upper dedicated area, corresponding to the first found clue from a solved task. Clicking on the left/right arrows around it scrolls through other clues and displays another one as a note.

Actual Behavior

A note is displayed in the upper dedicated area, corresponding to the first found clue from a solved task. Clicking on the left/right arrows does nothing. Inspecting localStorage (via dev tab > Application > see mm_notes_predefined) or the Toto user variable (via console logging after getting session info > see MMystery_Notes) shows a string with one element ID and a comma afterwards; this should be multiple / all solved IDs separated by commas.

Possible Solution

The problem is suspected to be on Toto's end, with parsing the user variable. The code in this app only accesses the variable to read it. Maybe the concatenation of the clue from the newly solved task needs to be done in the same way but with different syntax than
String({{variable}}) + {{elementId}}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions