Skip to content

Conversation

@Antreesy
Copy link
Contributor

  • Resolves: regression from bfa65cf

Summary

registerWidget expects 4 arguments:

  • id
  • callback
  • onDestroy callback (was missing)
  • params object

That results in TypeError:
image

Checklist

@Antreesy Antreesy added this to the Nextcloud 29 milestone Mar 15, 2024
@Antreesy Antreesy requested review from juliusknorr and susnux March 15, 2024 15:33
@Antreesy Antreesy self-assigned this Mar 15, 2024
@Antreesy Antreesy requested a review from skjnldsv as a code owner March 15, 2024 15:33
@Antreesy

This comment was marked as resolved.

@Antreesy Antreesy requested a review from ShGKme March 15, 2024 15:41
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 15, 2024
@Antreesy Antreesy force-pushed the fix/noid/widget-ondestroy-callback branch from 5fc6ef9 to f8c8f93 Compare March 15, 2024 15:51
@Antreesy Antreesy enabled auto-merge March 15, 2024 15:52
@Antreesy

This comment was marked as duplicate.

@Antreesy Antreesy force-pushed the fix/noid/widget-ondestroy-callback branch from d991bbf to 7aec654 Compare March 16, 2024 06:12
@Antreesy
Copy link
Contributor Author

/compile amend

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nextcloud-command nextcloud-command force-pushed the fix/noid/widget-ondestroy-callback branch from 7aec654 to 0af93c8 Compare March 16, 2024 06:18
@Antreesy Antreesy merged commit 90e09a2 into master Mar 16, 2024
@Antreesy Antreesy deleted the fix/noid/widget-ondestroy-callback branch March 16, 2024 06:38
@Altahrim Altahrim mentioned this pull request Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants