"undefined" text in notes

Hi. I see an unexpected value in notes.

Use case:

  • Add notes to a task
  • Start editing notes, the text is selected
  • Cut text (Ctrl + X)
  • Unfocus notes (Esc)
  • Start editing notes again

Expected content: empty notes or old value
Actual content: “undefined”

Environment:
Google Chrome 91.0.4472.101, Linux

In the console:
2021-06-12T09:45:41.963Z E TypeError: Cannot read property ‘replace’ of undefined
at Object.process_text (layoutChecklists-512e6de457335cc266d4492c13a26250f1029c804da8d079d77d64423aaf4202.js:16)
at Object.process_text (layoutChecklists-512e6de457335cc266d4492c13a26250f1029c804da8d079d77d64423aaf4202.js:16)
at Object.process_task_text (layoutChecklists-512e6de457335cc266d4492c13a26250f1029c804da8d079d77d64423aaf4202.js:16)
at Object.format_for_rendering (layoutChecklists-512e6de457335cc266d4492c13a26250f1029c804da8d079d77d64423aaf4202.js:16)
at Object.maxkir.format_for_rendering (layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:4)
at maxkir.Comments. (layoutChecklists-512e6de457335cc266d4492c13a26250f1029c804da8d079d77d64423aaf4202.js:17)
at maxkir.ui.InplaceEditor. (layoutChecklists-512e6de457335cc266d4492c13a26250f1029c804da8d079d77d64423aaf4202.js:3)
at maxkir.ui.InplaceEditor.wrapUp (layoutChecklists-512e6de457335cc266d4492c13a26250f1029c804da8d079d77d64423aaf4202.js:2)
at e.respondToReadyState (layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:1)
at e.onStateChange (layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:1)
maxkir. @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:4
maxkir.exception @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:4
onException @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:4
(anonymous) @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:1
_each @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:1
e @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:1
dispatch @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:1
dispatchException @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:1
respondToReadyState @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:1
onStateChange @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:1
XMLHttpRequest.send (async)
request @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:1
initialize @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:1
(anonymous) @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:1
e @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:1
maxkir.AjaxRequest @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:4
handleFormSubmission @ layoutChecklists-512e6de457335cc266d4492c13a26250f1029c804da8d079d77d64423aaf4202.js:2
handleFormSubmission @ layoutChecklists-512e6de457335cc266d4492c13a26250f1029c804da8d079d77d64423aaf4202.js:3
(anonymous) @ layoutChecklists-512e6de457335cc266d4492c13a26250f1029c804da8d079d77d64423aaf4202.js:3
e. @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:4
inplaceEditorSubmitOnEnter @ layoutChecklists-512e6de457335cc266d4492c13a26250f1029c804da8d079d77d64423aaf4202.js:3
(anonymous) @ layoutChecklists-512e6de457335cc266d4492c13a26250f1029c804da8d079d77d64423aaf4202.js:3
handleEvent @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:3
(anonymous) @ layoutCore-8af1f29fd4388a52c7998bbd9e8658cfda9f509a8f650f095fa3cd3e384c18e9.js:3

Thanks for the bug report! I’ve managed to reproduce it, hope to fix soon.

Best,

Hello again,

Should be fixed at https://beta.checkvist.com, thanks again for reporting!

Best,