Roam-Research / issues

Roam Research - A note-taking tool for networked thought.
https://roamresearch.com/
304 stars 7 forks source link

Multiple inline calculators consisting references in the same line are showing wrong results #602

Open EggDice opened 3 years ago

EggDice commented 3 years ago

Describe the bug

If you use two inline calculators in a single line and both calculators are using references, then the result is the same for both calculations.

screenshot 1 screenshot 2

To Reproduce

Steps to reproduce the behavior:

  1. Create a new page
  2. Create a new line and a calculation in it consisting a reference like: {{[[calc]]: ((pZAt7y6xh)) + 2}}
  3. Add another calculation with a different reference: {{[[calc]]: ((8ADAw5A6u)) + 2}}
  4. Even if the two references are not the same the calculated result is. The result for the second calculation is incorrect it is just a copy of the first

System Information:

EggDice commented 3 years ago

Actually same thing happens with pomodoros

KyleAMathews commented 3 years ago

Saw same bug