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

Error unlinking spreadsheet #2528

Closed
wilddom opened this issue Jan 28, 2025 · 2 comments · Fixed by #2534
Closed

Error unlinking spreadsheet #2528

wilddom opened this issue Jan 28, 2025 · 2 comments · Fixed by #2534
Assignees
Labels
1. to develop Accepted and waiting to be taken care of bug Something isn't working feature: 📊 responses & statistics
Milestone

Comments

@wilddom
Copy link

wilddom commented Jan 28, 2025

Please use the 👍 reaction to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

Describe the bug
Unlinking a spreadsheet causes a JavaScript TypeError (see screenshot or log)

Screenshots
Image

Nextcloud (please complete the following information):

  • Nextcloud-Version: 30.0.5
  • Forms-Version: 4.3.5

Browser log

vendor-C9uUsabI.chunk.mjs:2 TypeError: K.update is not a function
    at s.onUnlinkFile (forms-main.mjs?v=93611462-4:5:40604)
    at me (vendor-C9uUsabI.chunk.mjs:2:23739)
    at s.n (vendor-C9uUsabI.chunk.mjs:2:13959)
    at me (vendor-C9uUsabI.chunk.mjs:2:23739)
    at e.$emit (vendor-C9uUsabI.chunk.mjs:2:29326)
    at s.onClick (NcSettingsSection-DHX2Y1Ed-CbC7YZik.chunk.mjs:950:8439)
    at s.handleClick (NcSettingsSection-DHX2Y1Ed-CbC7YZik.chunk.mjs:950:9791)
    at me (vendor-C9uUsabI.chunk.mjs:2:23739)
    at HTMLButtonElement.n (vendor-C9uUsabI.chunk.mjs:2:13959)
    at Qc.i._wrapper (vendor-C9uUsabI.chunk.mjs:2:60813)
@wilddom wilddom added 0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working labels Jan 28, 2025
@Chartman123 Chartman123 added 1. to develop Accepted and waiting to be taken care of feature: 📊 responses & statistics and removed 0. Needs triage Pending approval or rejection. This issue is pending approval. labels Jan 28, 2025
@Chartman123 Chartman123 added this to the 5.0 milestone Jan 28, 2025
@Chartman123 Chartman123 assigned Chartman123 and Koc and unassigned Chartman123 Jan 28, 2025
@Chartman123
Copy link
Collaborator

I can confirm it, same error message for me. @Koc could you please have a look at it?

@Koc
Copy link
Collaborator

Koc commented Jan 29, 2025

seems like it was broken since #2222.

Image

Here the fix #2534, but I can't compile and test it due to an error:

devcontainer@e0e910ca5f18:/var/www/html/apps/forms$ npm run dev

> [email protected] dev
> vite --mode development build

Building forms for development
error during build:
TypeError: crypto$2.getRandomValues is not a function
    at resolveConfig (file:///var/www/html/apps/forms/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:66562:16)
    at async build (file:///var/www/html/apps/forms/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:65395:18)
    at async CAC.<anonymous> (file:///var/www/html/apps/forms/node_modules/vite/dist/node/cli.js:829:5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of bug Something isn't working feature: 📊 responses & statistics
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants