We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When editing a grade immediately after a first successful change, an uncaught TypeError is thrown. See the video:
The error is thrown on this line:
https://github.com/openedx/frontend-app-gradebook/blob/9c7c848/src/components/GradesView/EditModal/OverrideTable/index.jsx#L27
With this message:
TypeError: data is undefined OverrideTable index.jsx:27 React 12 unstable_runWithPriority scheduler.development.js:468 React 6 Object { stack: "\nOverrideTable@webpack-internal:///./src/components/GradesView/EditModal/OverrideTable/index.jsx:38:57\ndiv\ndiv\ndiv\nModalDialogBody@webpack-internal:///./node_modules/@openedx/paragon/dist/Modal/ModalDialogBody.js:31:12\ndiv\ndiv\nModalContentContainer@webpack-internal:///./node_modules/@openedx/paragon/dist/Modal/ModalLayer.js:45:18\ndiv\nRemoveScroll<@webpack-internal:///./node_modules/react-remove-scroll/dist/es2015/UI.js:22:50\nFocusLockUI@webpack-internal:///./node_modules/react-focus-lock/dist/es2015/Lock.js:25:60\nFocusOn<@webpack-internal:///./node_modules/react-focus-on/dist/es2015/UI.js:22:49\nPortal@webpack-internal:///./node_modules/@openedx/paragon/dist/Modal/Portal.js:30:20\nModalContextProvider@webpack-internal:///./node_modules/@openedx/paragon/dist/Modal/ModalContext.js:15:17\nModalLayer@webpack-internal:///./node_modules/@openedx/paragon/dist/Modal/ModalLayer.js:64:18\nModalDialog@webpack-internal:///./node_modules/@openedx/paragon/dist/Modal/ModalDialog.js:44:18\nEditModal@webpack-internal:///./src/components/GradesView/EditModal/index.jsx:45:78\nGradesView@webpack-internal:///./src/components/GradesView/index.jsx:53:7\ndiv\ndiv\ndiv\nWithSidebar@webpack-internal:///./src/components/WithSidebar/index.jsx:43:1\nConnectFunction@webpack-internal:///./node_modules/react-redux/es/components/connectAdvanced.js:233:68\nGradebookPage@webpack-internal:///./src/containers/GradebookPage/index.jsx:52:5\nWithLocationComponent@webpack-internal:///./src/utils/hoc.jsx:51:83\nWithNavigateComponent@webpack-internal:///./src/utils/hoc.jsx:37:83\nWithParamsComponent@webpack-internal:///./src/utils/hoc.jsx:26:189\nConnectFunction@webpack-internal:///./node_modules/react-redux/es/components/connectAdvanced.js:233:68\nRenderedRoute@webpack-internal:///./node_modules/react-router/dist/index.js:557:7\nRoutes@webpack-internal:///./node_modules/react-router/dist/index.js:1187:7\nmain\ndiv\ndiv\nRouter@webpack-internal:///./node_modules/react-router/dist/index.js:1129:7\nBrowserRouter@webpack-internal:///./node_modules/react-router-dom/dist/index.js:403:7\ndiv\nProvider@webpack-internal:///./node_modules/react-redux/es/components/Provider.js:18:15\nOptionalReduxProvider@webpack-internal:///./node_modules/@edx/frontend-platform/react/OptionalReduxProvider.js:18:15\nErrorBoundary@webpack-internal:///./node_modules/@edx/frontend-platform/react/ErrorBoundary.js:139:20\nIntlProvider@webpack-internal:///./node_modules/@edx/frontend-platform/node_modules/react-intl/lib/src/components/provider.js:97:47\nAppProvider@webpack-internal:///./node_modules/@edx/frontend-platform/react/AppProvider.js:110:15\nApp" } NewRelicLoggingService.js:36:12 sendError NewRelicLoggingService.js:36 logError NewRelicLoggingService.js:168 logError interface.js:71 componentDidCatch ErrorBoundary.jsx:26 React 9 unstable_runWithPriority scheduler.development.js:468 React 4 unstable_runWithPriority scheduler.development.js:468 React 6
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
When editing a grade immediately after a first successful change, an uncaught TypeError is thrown. See the video:
Gradebook.bug.webm
The error is thrown on this line:
https://github.com/openedx/frontend-app-gradebook/blob/9c7c848/src/components/GradesView/EditModal/OverrideTable/index.jsx#L27
With this message:
The text was updated successfully, but these errors were encountered: