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

After creating new Function, details about function do not appear #6525

Closed
BOHEUS opened this issue Aug 3, 2024 · 0 comments · Fixed by #6555
Closed

After creating new Function, details about function do not appear #6525

BOHEUS opened this issue Aug 3, 2024 · 0 comments · Fixed by #6555

Comments

@BOHEUS
Copy link
Contributor

BOHEUS commented Aug 3, 2024

Scenario:

  1. Log in
  2. Go to Settings > Functions
  3. Create new function
  4. (Optional) Click on existing function

Actual: No data appears, app throws 2 errors in right bottom corner related to network and there is massive log in devtools.
image
Expected: Details about function should appear

Logs:
Warning: Cannot update a component (Batcher) while rendering a different component (ResetServerlessFunctionStatesEffect). To locate the bad setState() call inside ResetServerlessFunctionStatesEffect, follow the stack trace as described in https://reactjs.org/link/setstate-in-render ResetServerlessFunctionStatesEffect@http://localhost:3001/src/pages/settings/serverless-functions/ResetServerlessFunctionStatesEffect.tsx:17:69 SettingsServerlessFunctionDetailWrapper RenderedRoute@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/react-router-dom.js?v=b1cc58a9:4038:7 Routes@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/react-router-dom.js?v=b1cc58a9:4476:7 RenderedRoute@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/react-router-dom.js?v=b1cc58a9:4038:7 Outlet@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/react-router-dom.js?v=b1cc58a9:4410:20 ErrorBoundary@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/react-error-boundary.js?v=b1cc58a9:18:5 AppErrorBoundary@http://localhost:3001/src/modules/error-handler/components/AppErrorBoundary.tsx:13:33 div withEmotionCache2/<@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/chunk-3IPCHOKD.js?v=b1cc58a9:1278:45 div MotionComponent@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/chunk-5IHKZV2V.js?v=b1cc58a9:277:40 withEmotionCache2/<@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/chunk-3IPCHOKD.js?v=b1cc58a9:1278:45 div withEmotionCache2/<@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/chunk-3IPCHOKD.js?v=b1cc58a9:1278:45 DefaultLayout@http://localhost:3001/src/modules/ui/layout/page/DefaultLayout.tsx:72:22 RenderedRoute@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/react-router-dom.js?v=b1cc58a9:4038:7 Outlet@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/react-router-dom.js?v=b1cc58a9:4410:20 DialogManager@http://localhost:3001/src/modules/ui/feedback/dialog-manager/components/DialogManager.tsx:15:30 DialogManagerScope@http://localhost:3001/src/modules/ui/feedback/dialog-manager/scopes/DialogManagerScope.tsx:11:35 SnackBarProvider@http://localhost:3001/src/modules/ui/feedback/snack-bar-manager/components/SnackBarProvider.tsx:34:33 ThemeContextProvider@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/packages/twenty-ui/src/theme/provider/ThemeContextProvider.tsx:12:37 ThemeProvider2@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/chunk-3IPCHOKD.js?v=b1cc58a9:1308:22 AppThemeProvider@http://localhost:3001/src/modules/ui/theme/components/AppThemeProvider.tsx:16:33 PrefetchDataProvider@http://localhost:3001/src/modules/prefetch/components/PrefetchDataProvider.tsx:12:37 RelationPickerScope@http://localhost:3001/src/modules/object-record/relation-picker/scopes/RelationPickerScope.tsx:11:36 PreComputedChipGeneratorsProvider@http://localhost:3001/src/modules/object-metadata/components/PreComputedChipGeneratorsProvider.tsx:16:50 ObjectMetadataItemsProvider@http://localhost:3001/src/modules/object-metadata/components/ObjectMetadataItemsProvider.tsx:18:44 ApolloMetadataClientProvider@http://localhost:3001/src/modules/object-metadata/components/ApolloMetadataClientProvider.tsx:14:45 AuthProvider@http://localhost:3001/src/modules/auth/components/AuthProvider.tsx:15:29 UserProvider@http://localhost:3001/src/modules/users/components/UserProvider.tsx:19:29 ChromeExtensionSidecarProvider@http://localhost:3001/src/modules/chrome-extension-sidecar/components/ChromeExtensionSidecarProvider.tsx:53:47 ClientConfigProvider@http://localhost:3001/src/modules/client-config/components/ClientConfigProvider.tsx:13:37 ApolloProvider@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/@apollo_client.js?v=b1cc58a9:161:16 ApolloProvider@http://localhost:3001/src/modules/apollo/components/ApolloProvider.tsx:13:31 ProvidersThatNeedRouterContext@http://localhost:3001/src/App.tsx:91:26 RenderedRoute@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/react-router-dom.js?v=b1cc58a9:4038:7 RenderErrorBoundary@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/react-router-dom.js?v=b1cc58a9:3995:5 DataRoutes@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/react-router-dom.js?v=b1cc58a9:5157:7 Router@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/react-router-dom.js?v=b1cc58a9:4424:7 RouterProvider@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/react-router-dom.js?v=b1cc58a9:4972:7 App@http://localhost:3001/src/App.tsx:890:35 r2@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/react-helmet-async.js?v=b1cc58a9:313:21 ExceptionHandlerProvider@http://localhost:3001/src/modules/error-handler/components/ExceptionHandlerProvider.tsx:11:41 IconsProvider@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/packages/twenty-ui/src/display/icon/providers/IconsProvider.tsx:13:30 SnackBarProviderScope@http://localhost:3001/src/modules/ui/feedback/snack-bar-manager/scopes/SnackBarProviderScope.tsx:11:38 CaptchaProvider@http://localhost:3001/src/modules/captcha/components/CaptchaProvider.tsx:12:32 ErrorBoundary@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/react-error-boundary.js?v=b1cc58a9:18:5 AppErrorBoundary@http://localhost:3001/src/modules/error-handler/components/AppErrorBoundary.tsx:13:33 RecoilRoot_INTERNAL@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/recoil.js?v=b1cc58a9:2794:29 RecoilRoot@http://localhost:3001/@fs/home/mk/Desktop/projects/twenty/node_modules/.vite/packages/twenty-front/deps/recoil.js?v=b1cc58a9:2915:7 suppress-nextjs-warning.ts:7:20 error suppress-nextjs-warning.ts:7 React 5 Batcher index.js:4347 replaceState index.js:4547 applyActionsToStore index.js:2874 queueOrPerformStateUpdate index.js:2898 setRecoilValue index.js:2941 useResetRecoilState index.js:5403 ResetServerlessFunctionStatesEffect ResetServerlessFunctionStatesEffect.tsx:16 React 13 setState index.tsx:546 optInStartTransition index.tsx:513 setState index.tsx:546 updateState router.ts:1179 updateState router.ts:1178 completeNavigation router.ts:1307 handleLoaders router.ts:1937 startNavigation router.ts:1643 navigate router.ts:1437 push index.tsx:688 navigate hooks.tsx:244 useLinkClickHandler index.tsx:1441 handleClick index.tsx:1016 React 23 <anonymous> index.tsx:20

FelixMalfait added a commit that referenced this issue Aug 6, 2024
Fixes #6525

(@martmull fyi it was not related to AWS but linked to the fact that we
recently enforced passing a token to access files)
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Product development ✅ Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant