Error destroying text editor
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start by tracing the destroy call in TextEditorEmbed.ts at line 50 and its caller in Description.vue around lines 209 and 246. Reproduce the error by opening and closing a card while watching the browser console, then inspect how the editor instance is created and passed to destroy. Done means the exception no longer appears and text editor changes save correctly.
Written by the indexing model from the issue text.
Description
How to use GitHub
- 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. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Describe the bug
Sometimes the text editor is not loading or the content is not saved properly (exception in console, edit is lost after browser reload)
To Reproduce
Steps to reproduce the behavior:
- Check Browser Console while Opening a Card
- When closing the card, the stacktrace is thrown on console
Expected behavior
No stack trace and my edit in text-editor is saved properly.
Screenshots
If applicable, add screenshots to help explain your problem.
Client details:
- OS: macOS Golden Gate
- Browser Firefox
- Version 160.0
- Device: macbook pro (2021)
Server details
Operating system: Debian Trixie - Linux 7.0.14-25-pve x86_64
Web server: nginx
Database: mariadb 10.11.19
PHP version: 8.5.12
Nextcloud version: 35.0.2
Where did you install Nextcloud from: Docker
Signing status:
No errors have been found.
List of activated apps:
Enabled:
- activity: 8.0.0
- admin_audit: 2.0.0
- app_api: 35.0.0
- appstore: 2.0.0
- assistant: 4.1.0
- bruteforcesettings: 8.0.0
- calendar: 6.6.5
- circles: 35.0.0
- cloud_federation_api: 2.0.0
- comments: 2.0.0
- contacts: 8.9.5
- contactsinteraction: 2.0.0
- dashboard: 8.0.0
- dav: 2.0.0
- deck: 1.19.2
- drawio: 4.3.11
- external: 10.0.0
- federatedfilesharing: 2.0.0
- federation: 2.0.0
- files: 3.0.0
- files_downloadlimit: 5.3.0
- files_lock: 35.0.1
- files_pdfviewer: 8.0.0
- files_reminders: 2.0.0
- files_sharing: 2.0.0
- files_trashbin: 2.0.0
- files_versions: 2.0.0
- firstrunwizard: 8.0.0
- forms: 5.4.1
- integration_openai: 5.0.0
- logreader: 8.0.0
- lookup_server_connector: 2.0.0
- mail: 5.13.1
- nextcloud_announcements: 7.0.0
- notifications: 8.0.1
- oauth2: 2.0.0
- office: 1.1.0
- password_policy: 7.0.0
- photos: 8.0.0
- privacy: 7.0.0
- profile: 2.0.0
- provisioning_api: 2.0.0
- recommendations: 8.0.0
- related_resources: 6.0.0
- richdocuments: 12.0.1
- serverinfo: 7.0.0
- settings: 2.0.0
- sharebymail: 2.0.0
- sharing: 1.0.4
- side_menu: 6.2.0
- sociallogin: 6.6.0
- spreed: 25.0.7
- support: 7.0.0
- survey_client: 7.0.0
- systemtags: 2.0.0
- tasks: 0.18.1
- text: 9.0.1
- theming: 3.0.0
- twofactor_backupcodes: 2.0.0
- twofactor_totp: 17.1.0
- updatenotification: 2.0.0
- user_status: 2.0.0
- viewer: 8.0.0
- weather_status: 2.0.0
- webhook_listeners: 2.0.0
- whiteboard: 2.1.2
- workflowengine: 3.0.0
Disabled:
- encryption: 3.0.1
- files_external: 2.0.0
- files_rightclick: 0.15.1 (installed 0.15.1)
- notify_push: 1.4.2 (installed 1.4.2)
- oidc: 2.6.1 (installed 2.6.1)
- snappymail: 2.38.2 (installed 2.38.2)
- suspicious_login: 13.0.0
- twofactor_nextcloud_notification: 9.0.0
- user_ldap: 2.0.0
Nextcloud configuration:
{
"system": {
"htaccess.RewriteBase": "\/",
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"maintenance_window_start": 4,
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"next.swokiz.com"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "35.0.2.2",
"overwrite.cli.url": "http:\/\/next.swokiz.com",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"overwriteprotocol": "https",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "PLAIN",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "8465",
"maintenance": false,
"loglevel": 2,
"theme": "",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpsecure": "ssl",
"social_login_auto_redirect": true
}
}
Are you using an external user-backend, if yes which one: Keycloak OAUTH
Logs
Nextcloud log (data/nextcloud.log)
<will be added later>
Browser log
Error destroying text editor: TypeError: can't access private field or method: object is not the right class
destroy TextEditorEmbed.ts:50
destroyEditor Description.vue:246
beforeUnmount Description.vue:209
Te runtime-core.esm-bundler.js:3232
r runtime-core.esm-bundler.js:199
o runtime-core.esm-bundler.js:206
__weh runtime-core.esm-bundler.js:3212
z shared.esm-bundler.js:85
U runtime-core.esm-bundler.js:6984
$ runtime-core.esm-bundler.js:6878
V runtime-core.esm-bundler.js:7006
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 380
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 72
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nextcloud/deck
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
2 small URL BugsOpen1. to develop bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
nextcloud/deck#8834 · 1 comment ·
Maintainers usually reply within 1 day
-
Updating a card without `done` clears its done statePossibly taken @whoalin1 claimed this 5 days ago. Open0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Updating a card on an incoming federated board without `done` returns 500Possibly taken @AlirezaAghaee1996 claimed this 5 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
Similar issues
-
area-integrations
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Trac-Systems/main_settlement_bus#1071 ·
Maintainers usually reply within 1 day
-
Bug kind/bug pulumi/pulumi R1 S1
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Document that Search Attributes on Standalone Activity start are not billed as additional ActionsOpen
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
temporalio/documentation#5883 ·
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Stanley03-arch/Rabbit#15 ·
Maintainers usually reply within 1 day