nextcloud / nextcloud/impersonate
Uncaught TypeError: Cannot read properties of undefined (reading 'setAttribute')
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 70
- Forks
- 18
- Avg merge
- 5d 19h
- Merged PRs (30d)
- 25
Description
Steps to reproduce
- Impersonate a user
- View the console logs
Expected behaviour
No error
Actual behaviour
Server configuration
Web server: Apache
Database: PostgreSQL
PHP version: 8.3
Nextcloud version: 31.0.8
List of activated apps
Enabled:
- activity: 4.0.0
- bookmarks: 15.1.3
- bruteforcesettings: 4.0.0
- circles: 31.0.0
- cloud_federation_api: 1.14.0
- comments: 1.21.0
- contacts: 7.2.5
- contactsinteraction: 1.12.0
- dashboard: 7.11.0
- dav: 1.33.0
- deck: 1.15.2
- federatedfilesharing: 1.21.0
- federation: 1.21.0
- files: 2.3.1
- files_downloadlimit: 4.0.0
- files_fulltextsearch: 31.0.0
- files_pdfviewer: 4.0.0
- files_reminders: 1.4.0
- files_sharing: 1.23.1
- files_trashbin: 1.21.0
- files_versions: 1.24.0
- firstrunwizard: 4.0.0
- fulltextsearch: 31.0.0
- fulltextsearch_sql: 1.1.0
- impersonate: 2.0.0
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- maps: 1.6.0
- memegen: 1.1.3
- memories: 7.6.2
- notifications: 4.0.0
- notify_push: 1.2.0
- oauth2: 1.19.1
- password_policy: 3.0.0
- photos: 4.0.0
- previewgenerator: 5.9.0
- privacy: 3.0.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- recognize: 9.0.3
- recommendations: 4.0.0
- related_resources: 2.0.0
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- sociallogin: 6.0.2
- systemtags: 1.21.1
- text: 5.0.0
- theming: 2.6.1
- twofactor_backupcodes: 1.20.0
- twofactor_nextcloud_notification: 5.0.0
- twofactor_totp: 13.0.0-dev.0
- twofactor_webauthn: 2.3.0
- unsplash: 3.1.0
- updatenotification: 1.21.0
- user_status: 1.11.0
- viewer: 4.0.0
- weather_status: 1.11.0
- webhook_listeners: 1.2.0
- workflowengine: 2.13.0
Disabled:
- admin_audit: 1.21.0
- app_api: 5.0.2 (installed 5.0.2)
- encryption: 2.19.0
- facerecognition: 0.9.70 (installed 0.9.70)
- files_external: 1.23.0
- nextcloud_announcements: 3.0.0 (installed 3.0.0)
- support: 3.0.0 (installed 3.0.0)
- survey_client: 3.0.0 (installed 3.0.0)
- suspicious_login: 9.0.1
- tasks: 0.16.1 (installed 0.16.1)
- user_ldap: 1.22.0```
</details>
<details>
<summary>Nextcloud configuration</summary>
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
</details>
### Browser
**Browser name:** Firefox/Chrome/Safari/…
**Browser version:** 124/125/…
**Operating system:** Windows/Ubuntu/Mac/…
<details>
<summary>Browser log</summary>
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
</details>
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
No source files, tests, browser details, or console output are identified. Start by reproducing the impersonation flow and inspecting the browser console; the work is done when viewing the console after impersonating a user produces no TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- authentication, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100