Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
4 tasks done
TravisHeaver opened this issue Apr 18, 2023 · 4 comments · Fixed by #2416
Closed
4 tasks done

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

TravisHeaver opened this issue Apr 18, 2023 · 4 comments · Fixed by #2416
Labels
state:released Released as stable version state:released-alpha Released as alpha version state:released-beta Released as beta version type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@TravisHeaver
Copy link
Contributor

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

  • Parse Dashboard version: 5.0.0
  • Browser (Safari, Chrome, Firefox, Edge, etc.): all browsers
  • Browser version: safari 16.4

Server

  • Parse Server version: 5.2.8
  • Operating system: Mac OS 13.3.1
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): local

Database

  • System (MongoDB or Postgres): MongoDB
  • Database version: 5.0.0
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): local

Logs

N/A

@parse-github-assistant
Copy link

Thanks for opening this issue!

@mtrezza mtrezza changed the title bug: Add row with modal crash BrowserCell.react.js:194:116 Add row with modal crash BrowserCell.react.js Apr 20, 2023
@mtrezza mtrezza changed the title Add row with modal crash BrowserCell.react.js Add row with modal causes crash in BrowserCell.react.js Apr 20, 2023
@mtrezza mtrezza added the type:bug Impaired feature or lacking behavior that is likely assumed label Apr 20, 2023
@parseplatformorg
Copy link
Contributor

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

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label May 27, 2023
@parseplatformorg
Copy link
Contributor

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

@parseplatformorg parseplatformorg added the state:released-beta Released as beta version label Jun 10, 2023
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.2.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released Released as stable version state:released-alpha Released as alpha version state:released-beta Released as beta version type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
3 participants