parse-community / parse-dashboard

A dashboard for managing Parse Server
https://parseplatform.org
Other
3.74k stars 1.38k forks source link

Hitting backspace key in data browser crashes dashboard #2453

Closed mtrezza closed 1 year ago

mtrezza commented 1 year ago

New Issue Checklist

Issue Description

Hitting backspace key in data browser crashes dashboard

with error:

[Error] TypeError: undefined is not an object (evaluating 'this.props.value._previousSave')
value — dashboard.bundle.js:104940:115

at line:

if (this.props.value !== e.value && (this.renderCellContent(), null === (t = this.props.value._previousSave) || void 0 === t || null === (n = t.then((function() {

Bug introduced by https://github.com/parse-community/parse-dashboard/pull/2422.

Steps to reproduce

  1. Open data browser
  2. Select deletable field
  3. Hit backspace key

Actual Outcome

Error thrown, window goes blank.

Expected Outcome

Delete field value.

Environment

Dashboard

parse-github-assistant[bot] commented 1 year ago

Thanks for opening this issue!

mtrezza commented 1 year ago

@patelmilanun Maybe you have time to take a quick look at this; the bug has been introduced by https://github.com/parse-community/parse-dashboard/pull/2422, and maybe it's quickest for you to look at this since you worked on the code recently. Thanks!

parseplatformorg commented 1 year ago

🎉 This change has been released in version 5.2.0-alpha.14

parseplatformorg commented 1 year ago

🎉 This change has been released in version 5.2.0-beta.2

parseplatformorg commented 11 months ago

🎉 This change has been released in version 5.2.0