parse-community / parse-dashboard

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

Add row with modal causes crash in `BrowserCell.react.js` #2426

Closed TravisHeaver closed 1 year ago

TravisHeaver commented 1 year ago

Issue Description

When adding a new row via the modal then selecting a field to add where the class being added has a field type array (of pointers) the app crashes

Steps to reproduce

create 3 classes class A which has an array of pointers to class B, and class C which points to class A. In class C select edit => add a row with modal

Actual Outcome

White screen with the crash: (anonymous function) (bind.js:7) (anonymous function) (BrowserCell.react.js:194:116) map renderCellContent (BrowserCell.react.js:184:137) componentDidMount (BrowserCell.react.js:540) commitLifeCycles (react-dom.development.js:19814) commitLayoutEffects (react-dom.development.js:22803) callCallback (react-dom.development.js:188) dispatchEvent invokeGuardedCallbackDev (react-dom.development.js:237) invokeGuardedCallback (react-dom.development.js:292) commitRootImpl (react-dom.development.js:22541) commitRootImpl unstable_runWithPriority (scheduler.development.js:653) commitRoot (react-dom.development.js:22381) finishSyncRender (react-dom.development.js:21807) performSyncWorkOnRoot (react-dom.development.js:21793) performSyncWorkOnRoot (anonymous function) (react-dom.development.js:11089) unstable_runWithPriority (scheduler.development.js:653) flushSyncCallbackQueueImpl (react-dom.development.js:11084) flushSyncCallbackQueue (react-dom.development.js:11072) scheduleUpdateOnFiber (react-dom.development.js:21199) enqueueSetState (react-dom.development.js:12639) (anonymous function) (react.development.js:471) _callee3$ (ObjectPickerDialog.react.js:245) tryCatch (regeneratorRuntime.js:53) (anonymous function) (regeneratorRuntime.js:135) asyncGeneratorStep (asyncToGenerator.js:9) _next (asyncToGenerator.js:28)

Expected Outcome

You should be able to add the new row

Environment

5.0.0

Dashboard

Server

Database

Logs

N/A

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

Thanks for opening this issue!

parseplatformorg commented 1 year ago

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

parseplatformorg commented 1 year ago

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

parseplatformorg commented 1 year ago

🎉 This change has been released in version 5.2.0