-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fix: Dashboard crashes when adding a row with modal in a class that contains a pointer to another class that contains an array of pointers #2416
Merged
mtrezza
merged 3 commits into
parse-community:alpha
from
TravisHeaver:fix/onPointerClick-bind
May 27, 2023
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…if not fallback to stringify. The crash happens occurs when adding a new row via the modal then selecting a filed to add where the class being added has a field type array of pointers [Error] TypeError: undefined is not an object (evaluating 'it.bind') (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)
I will reformat the title to use the proper commit message syntax. |
parse-github-assistant
bot
changed the title
fix: add row with modal TypeError: undefined is not an object
fix: Add row with modal TypeError: undefined is not an object
Apr 10, 2023
Thanks for opening this pull request!
|
Uffizzi Ephemeral Environment
|
mtrezza
approved these changes
May 27, 2023
mtrezza
approved these changes
May 27, 2023
mtrezza
approved these changes
May 27, 2023
mtrezza
approved these changes
May 27, 2023
mtrezza
approved these changes
May 27, 2023
mtrezza
approved these changes
May 27, 2023
mtrezza
approved these changes
May 27, 2023
mtrezza
approved these changes
May 27, 2023
mtrezza
approved these changes
May 27, 2023
mtrezza
approved these changes
May 27, 2023
mtrezza
approved these changes
May 27, 2023
mtrezza
approved these changes
May 27, 2023
mtrezza
approved these changes
May 27, 2023
mtrezza
approved these changes
May 27, 2023
mtrezza
approved these changes
May 27, 2023
mtrezza
approved these changes
May 27, 2023
mtrezza
approved these changes
May 27, 2023
mtrezza
changed the title
fix: Add row with modal TypeError: undefined is not an object
fix: Dashboard crashes when adding a row with modal in a class that contains a pointer to another class that contains an array of pointers
May 27, 2023
parseplatformorg
pushed a commit
that referenced
this pull request
May 27, 2023
# [5.2.0-alpha.9](5.2.0-alpha.8...5.2.0-alpha.9) (2023-05-27) ### Bug Fixes * Dashboard crashes when adding a row with modal in a class that contains a pointer to another class that contains an array of pointers ([#2416](#2416)) ([286269f](286269f))
🎉 This change has been released in version 5.2.0-alpha.9 |
parseplatformorg
pushed a commit
that referenced
this pull request
Jun 8, 2023
# [5.2.0-beta.2](5.2.0-beta.1...5.2.0-beta.2) (2023-06-08) ### Bug Fixes * Back button in data browser disappears after page refresh ([#2421](#2421)) ([6c5f19f](6c5f19f)) * Cannot navigate to nested relation field in data browser ([#2420](#2420)) ([e7ace9e](e7ace9e)) * Dashboard crashes when adding a row with modal in a class that contains a pointer to another class that contains an array of pointers ([#2416](#2416)) ([286269f](286269f)) * Empty table in data browser when navigating back using the "back” button ([#2423](#2423)) ([6f3dab6](6f3dab6)) * File uploading status not updating in data browser ([#2422](#2422)) ([e761f97](e761f97)) * Incorrect date picker position in data browser filter dialog ([#2425](#2425)) ([b96b48f](b96b48f)) * Option missing for Parse Config parameter to require master key ([#2440](#2440)) ([6623369](6623369)) * Scroll position is preserved when re-opening the same class in data browser via navigation bar ([#2445](#2445)) ([667675c](667675c)) * Text input cursor jumps to first position when writing long text ([#2413](#2413)) ([422ffb2](422ffb2)) ### Features * Add links to users and roles in ACL dialog and handle invalid entries ([#2436](#2436)) ([a20cb8e](a20cb8e)) * Add visual configurator for Parse Dashboard settings ([#2406](#2406)) ([228d839](228d839))
parseplatformorg
pushed a commit
that referenced
this pull request
Jun 8, 2023
# [5.2.0-beta.2](5.2.0-beta.1...5.2.0-beta.2) (2023-06-08) ### Bug Fixes * Back button in data browser disappears after page refresh ([#2421](#2421)) ([6c5f19f](6c5f19f)) * Cannot navigate to nested relation field in data browser ([#2420](#2420)) ([e7ace9e](e7ace9e)) * Dashboard crashes when adding a row with modal in a class that contains a pointer to another class that contains an array of pointers ([#2416](#2416)) ([286269f](286269f)) * Empty table in data browser when navigating back using the "back” button ([#2423](#2423)) ([6f3dab6](6f3dab6)) * File uploading status not updating in data browser ([#2422](#2422)) ([e761f97](e761f97)) * Incorrect date picker position in data browser filter dialog ([#2425](#2425)) ([b96b48f](b96b48f)) * Option missing for Parse Config parameter to require master key ([#2440](#2440)) ([6623369](6623369)) * Scroll position is preserved when re-opening the same class in data browser via navigation bar ([#2445](#2445)) ([667675c](667675c)) * Text input cursor jumps to first position when writing long text ([#2413](#2413)) ([422ffb2](422ffb2)) ### Features * Add links to users and roles in ACL dialog and handle invalid entries ([#2436](#2436)) ([a20cb8e](a20cb8e)) * Add visual configurator for Parse Dashboard settings ([#2406](#2406)) ([228d839](228d839))
parseplatformorg
pushed a commit
that referenced
this pull request
Jun 8, 2023
# [5.2.0-beta.2](5.2.0-beta.1...5.2.0-beta.2) (2023-06-08) ### Bug Fixes * Back button in data browser disappears after page refresh ([#2421](#2421)) ([6c5f19f](6c5f19f)) * Cannot navigate to nested relation field in data browser ([#2420](#2420)) ([e7ace9e](e7ace9e)) * Dashboard crashes when adding a row with modal in a class that contains a pointer to another class that contains an array of pointers ([#2416](#2416)) ([286269f](286269f)) * Empty table in data browser when navigating back using the "back” button ([#2423](#2423)) ([6f3dab6](6f3dab6)) * File uploading status not updating in data browser ([#2422](#2422)) ([e761f97](e761f97)) * Incorrect date picker position in data browser filter dialog ([#2425](#2425)) ([b96b48f](b96b48f)) * Option missing for Parse Config parameter to require master key ([#2440](#2440)) ([6623369](6623369)) * Scroll position is preserved when re-opening the same class in data browser via navigation bar ([#2445](#2445)) ([667675c](667675c)) * Text input cursor jumps to first position when writing long text ([#2413](#2413)) ([422ffb2](422ffb2)) ### Features * Add links to users and roles in ACL dialog and handle invalid entries ([#2436](#2436)) ([a20cb8e](a20cb8e)) * Add visual configurator for Parse Dashboard settings ([#2406](#2406)) ([228d839](228d839))
parseplatformorg
pushed a commit
that referenced
this pull request
Jun 10, 2023
# [5.2.0-beta.2](5.2.0-beta.1...5.2.0-beta.2) (2023-06-10) ### Bug Fixes * Back button in data browser disappears after page refresh ([#2421](#2421)) ([6c5f19f](6c5f19f)) * Cannot navigate to nested relation field in data browser ([#2420](#2420)) ([e7ace9e](e7ace9e)) * Dashboard crashes when adding a row with modal in a class that contains a pointer to another class that contains an array of pointers ([#2416](#2416)) ([286269f](286269f)) * Empty table in data browser when navigating back using the "back” button ([#2423](#2423)) ([6f3dab6](6f3dab6)) * File uploading status not updating in data browser ([#2422](#2422)) ([e761f97](e761f97)) * Hitting backspace key in data browser crashes dashboard ([#2456](#2456)) ([32aeea2](32aeea2)) * Incorrect date picker position in data browser filter dialog ([#2425](#2425)) ([b96b48f](b96b48f)) * Option missing for Parse Config parameter to require master key ([#2440](#2440)) ([6623369](6623369)) * Scroll position is preserved when re-opening the same class in data browser via navigation bar ([#2445](#2445)) ([667675c](667675c)) * Text input cursor jumps to first position when writing long text ([#2413](#2413)) ([422ffb2](422ffb2)) ### Features * Add export of saved data browser filters via `classPreference` settings ([#2455](#2455)) ([f56f946](f56f946)) * Add filter views to save frequently used filters in data browser ([#2404](#2404)) ([a9ec3a9](a9ec3a9)) * Add links to users and roles in ACL dialog and handle invalid entries ([#2436](#2436)) ([a20cb8e](a20cb8e)) * Add visual configurator for Parse Dashboard settings ([#2406](#2406)) ([228d839](228d839))
🎉 This change has been released in version 5.2.0-beta.2 |
parseplatformorg
pushed a commit
that referenced
this pull request
Sep 15, 2023
# [5.2.0](5.1.0...5.2.0) (2023-09-15) ### Bug Fixes * Back button in data browser disappears after page refresh ([#2421](#2421)) ([6c5f19f](6c5f19f)) * Cannot navigate to nested relation field in data browser ([#2420](#2420)) ([e7ace9e](e7ace9e)) * Dashboard crashes when adding a row with modal in a class that contains a pointer to another class that contains an array of pointers ([#2416](#2416)) ([286269f](286269f)) * Empty table in data browser when navigating back using the "back” button ([#2423](#2423)) ([6f3dab6](6f3dab6)) * File uploading status not updating in data browser ([#2422](#2422)) ([e761f97](e761f97)) * Hitting backspace key in data browser crashes dashboard ([#2456](#2456)) ([32aeea2](32aeea2)) * Incorrect date picker position in data browser filter dialog ([#2425](#2425)) ([b96b48f](b96b48f)) * Option missing for Parse Config parameter to require master key ([#2440](#2440)) ([6623369](6623369)) * Scroll position is preserved when re-opening the same class in data browser via navigation bar ([#2445](#2445)) ([667675c](667675c)) * Text input cursor jumps to first position when writing long text ([#2413](#2413)) ([422ffb2](422ffb2)) * Uncaught error when editing Number field in Edit Row dialog ([#2401](#2401)) ([26bd6fa](26bd6fa)) ### Features * Add export of saved data browser filters via `classPreference` settings ([#2455](#2455)) ([f56f946](f56f946)) * Add filter views to save frequently used filters in data browser ([#2404](#2404)) ([a9ec3a9](a9ec3a9)) * Add links to users and roles in ACL dialog and handle invalid entries ([#2436](#2436)) ([a20cb8e](a20cb8e)) * Add visual configurator for Parse Dashboard settings ([#2406](#2406)) ([228d839](228d839)) * Data types and pointer classes are sorted alphabetically in dialog to add new column ([#2400](#2400)) ([d9d285b](d9d285b)) * Sort Cloud Code Jobs alphabetically ([#2402](#2402)) ([77fc372](77fc372))
🎉 This change has been released in version 5.2.0 |
beiguancyc
pushed a commit
to beiguancyc/parse-dashboard
that referenced
this pull request
Sep 20, 2023
* release: (41 commits) chore(release): 5.2.0 [skip ci] release chore(release): 5.2.0-beta.2 [skip ci] empty commit chore(release): 5.2.0-alpha.14 [skip ci] fix: Hitting backspace key in data browser crashes dashboard (parse-community#2456) chore(release): 5.2.0-alpha.13 [skip ci] feat: Add export of saved data browser filters via `classPreference` settings (parse-community#2455) chore(release): 5.2.0-alpha.12 [skip ci] feat: Add filter views to save frequently used filters in data browser (parse-community#2404) chore(release): 5.2.0-alpha.11 [skip ci] fix: Scroll position is preserved when re-opening the same class in data browser via navigation bar (parse-community#2445) chore(release): 5.2.0-alpha.10 [skip ci] fix: Option missing for Parse Config parameter to require master key (parse-community#2440) chore(release): 5.2.0-alpha.9 [skip ci] fix: Dashboard crashes when adding a row with modal in a class that contains a pointer to another class that contains an array of pointers (parse-community#2416) chore(release): 5.2.0-alpha.8 [skip ci] fix: Cannot navigate to nested relation field in data browser (parse-community#2420) chore(release): 5.2.0-alpha.7 [skip ci] fix: File uploading status not updating in data browser (parse-community#2422) ... # Conflicts: # package-lock.json
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New Pull Request Checklist
Issue Description
Closes: #2426
Make sure there is an onPointerClick when setting the copyableValue, if not fallback to stringify.
The crash happens occurs when adding a new row via the modal then selecting a filed to add where the class being added has a field type array of pointers
[Error] TypeError: undefined is not an object (evaluating 'it.bind')
Approach
TODOs before merging