Some key combinations in the sharing tab cause the page to freeze and an error appears in the browser console: `TypeError: Cannot read properties of undefined (reading 'key')`
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
after I open the sharing tab, after some key combinations the page freezes and this error appears on the browser console:
TypeError: Cannot read properties of undefined (reading 'key')
at fr (vue.runtime.esm.js:6466:15)
at vue.runtime.esm.js:6844:25
at C (vue.runtime.esm.js:6933:21)
at Ei.nodeOps [as __patch__] (vue.runtime.esm.js:7101:17)
at e._update (vue.runtime.esm.js:3785:25)
at o.a (vue.runtime.esm.js:3891:16)
at e.get (vue.runtime.esm.js:3462:33)
at e.run (vue.runtime.esm.js:3538:30)
at na (vue.runtime.esm.js:4141:17)
at Array.<anonymous> (vue.runtime.esm.js:3159:20)
Steps to reproduce
First
- open share tab
- press any caracter to user search input
- wait the result
- press backspace
- press other caracter
- show console error, and freeze the share tab
Second: It always gives me an error for this too.
- open share tab
- press v character
- wait the result
- press i caracter
- show console error, and freeze the share tab
Expected behavior
sometimes it works good, but sometimes freeze the tab.
Installation method
Community Docker image
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 28.0.1 to 28.0.2)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
"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
}
],
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"password": "***REMOVED SENSITIVE VALUE***"
},
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"taborozok.ddns.net",
"taborozok.asuscomm.com",
"taborozok2.ddns.net"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "29.0.4.1",
"overwriteprotocol": "https",
"overwrite.cli.url": "https:\/\/taborozok.ddns.net",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance": false,
"theme": "",
"loglevel": 2,
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpsecure": "ssl",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"filesystem_check_changes": 1,
"skeletondirectory": "\/mnt\/taborozok\/nextcloud\/nextcloud_skeleton\/",
"activity_use_cached_mountpoints": "true",
"app_install_overwrite": [
"registration",
"extract",
"flowupload",
"audioplayer_editor",
"facerecognition"
],
"default_phone_region": "HU",
"default_language": "hu",
"onlyoffice": {
"verify_peer_off": false
},
"memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-glibc",
"memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"memories.vod.bind": "127.0.0.1:47788",
"memories.vod.connect": "127.0.0.1:47788",
"memories.vod.disable": false,
"enabledPreviewProviders": [
"OC\\Preview\\HEIC",
"OC\\Preview\\TIFF",
"OC\\Preview\\Movie",
"OC\\Preview\\Image"
],
"memories.vod.vaapi.low_power": true,
"preview_ffmpeg_path": "\/usr\/bin\/ffmpeg",
"preview_max_x": 1024,
"preview_max_y": 1024,
"preview_max_memory": 1024,
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"forwarded_for_headers": [
"HTTP_X_FORWARDED_FOR"
],
"memories.exiftool_no_local": true,
"maintenance_window_start": 1,
"memories.db.triggers.fcu": true,
"allow_local_remote_servers": true
}
List of activated Apps
Enabled:
- activity: 2.21.1
- audioplayer: 3.4.1
- bruteforcesettings: 2.9.0
- calendar: 4.7.15
- circles: 29.0.0-dev
- cloud_federation_api: 1.12.0
- comments: 1.19.0
- contacts: 6.0.0
- contactsinteraction: 1.10.0
- cookbook: 0.11.1
- dav: 1.30.1
- extract: 1.3.6
- facerecognition: 0.9.51
- federatedfilesharing: 1.19.0
- federation: 1.19.0
- files: 2.1.0
- files_automatedtagging: 1.19.0
- files_downloadlimit: 2.0.0
- files_pdfviewer: 2.10.0
- files_reminders: 1.2.0
- files_retention: 1.18.0
- files_sharing: 1.21.0
- files_trashbin: 1.19.0
- files_versions: 1.22.0
- firstrunwizard: 2.18.0
- groupfolders: 17.0.1
- logreader: 2.14.0
- lookup_server_connector: 1.17.0
- maps: 1.4.0
- memories: 7.3.1
- nextcloud_announcements: 1.18.0
- notifications: 2.17.0
- oauth2: 1.17.0
- onlyoffice: 9.3.0
- password_policy: 1.19.0
- photos: 2.5.0
- previewgenerator: 5.6.0
- privacy: 1.13.0
- provisioning_api: 1.19.0
- recognize: 7.1.0
- recommendations: 2.1.0
- registration: 2.4.0
- related_resources: 1.4.0
- serverinfo: 1.19.0
- settings: 1.12.0
- sharebymail: 1.19.0
- spreed: 19.0.7
- support: 1.12.0
- survey_client: 1.17.0
- systemtags: 1.19.0
- text: 3.10.1
- theming: 2.4.0
- twofactor_backupcodes: 1.18.0
- updatenotification: 1.19.1
- user_status: 1.9.0
- viewer: 2.3.0
- weather_status: 1.9.0
- workflowengine: 2.11.0
Disabled:
- admin_audit: 1.19.0
- dashboard: 7.9.0 (installed 7.0.0)
- encryption: 2.17.0
- files_external: 1.21.0
- files_readmemd: 3.0.0 (installed 3.0.0)
- files_rightclick: 0.15.1 (installed 1.6.0)
- metadata: 0.20.0 (installed 0.20.0)
- suspicious_login: 7.0.0
- translate: 2.2.0 (installed 2.2.0)
- twofactor_totp: 11.0.0-dev
- user_ldap: 1.20.0
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
no error in server log
Additional info
TypeError: Cannot read properties of undefined (reading 'key')
at fr (vue.runtime.esm.js:6466:15)
at vue.runtime.esm.js:6844:25
at C (vue.runtime.esm.js:6933:21)
at Ei.nodeOps [as __patch__] (vue.runtime.esm.js:7101:17)
at e._update (vue.runtime.esm.js:3785:25)
at o.a (vue.runtime.esm.js:3891:16)
at e.get (vue.runtime.esm.js:3462:33)
at e.run (vue.runtime.esm.js:3538:30)
at na (vue.runtime.esm.js:4141:17)
at Array.<anonymous> (vue.runtime.esm.js:3159:20)
Contributor 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.
Research direction
Start by reproducing the key sequences in the sharing tab and inspect the browser console for the undefined key error. Trace the sharing-tab user search update from the browser stack trace; done means backspace and successive characters no longer freeze the tab or produce the TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100