nextcloud / nextcloud/recommendations

Clicking recommended folders in Files app does nothing

Open Beginner friendly
#1,171 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
JavaScript
Stars
15
Forks
19
Avg merge
6d 15h
Merged PRs (30d)
9

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.

Steps to reproduce
  1. Open the Files app in Nextcloud 34.0.3.
  2. Click on one of the folder items shown at the top of the Files view in the recommendations/recently used section.
  3. Observe that nothing happens.
Expected behaviour

Clicking on a recommended folder should open that folder in the Files app.

Actual behaviour

Clicking on a recommended folder does nothing. The folder is not opened, and the current view does not change.

Server configuration

Web server: Apache (Using docker image)

Database: MariaDB v.11.8.9

PHP version: 8.5.10

Nextcloud version: 34.0.3

List of activated apps
Enabled:
  - activity: 7.0.0
  - admin_audit: 1.24.0
  - announcementcenter: 7.5.0
  - app_api: 34.0.0
  - appstore: 1.0.0
  - bruteforcesettings: 7.0.0
  - calendar: 6.5.4
  - calendar_resource_management: 0.12.2
  - circles: 34.0.0
  - cloud_federation_api: 1.18.0
  - comments: 1.24.0
  - contacts: 8.8.0
  - contactsinteraction: 1.15.0
  - dashboard: 7.14.0
  - dav: 1.40.0
  - event_update_notification: 2.10.0
  - external: 9.0.1
  - federatedfilesharing: 1.24.0
  - federation: 1.24.0
  - files: 2.6.0
  - files_accesscontrol: 5.0.0
  - files_automatedtagging: 5.0.0
  - files_downloadlimit: 5.2.0
  - files_lock: 34.0.1
  - files_pdfviewer: 7.0.0-dev.0
  - files_reminders: 1.7.0
  - files_retention: 5.0.0
  - files_sharing: 1.26.0
  - files_trashbin: 1.24.0
  - files_versions: 1.27.0
  - firstrunwizard: 7.0.0-dev.0
  - forms: 5.3.6
  - group_everyone: 0.1.20
  - logreader: 7.0.0
  - lookup_server_connector: 1.22.0
  - mail: 5.11.5
  - nextcloud_announcements: 6.0.0
  - notifications: 7.0.0-dev.1
  - oauth2: 1.22.0
  - password_policy: 6.0.0-dev.0
  - photos: 7.0.0
  - polls: 9.2.1
  - privacy: 6.0.0-dev.1
  - profile: 1.3.0
  - provisioning_api: 1.24.0
  - quota_warning: 1.24.0
  - recognize: 12.0.2
  - recommendations: 7.0.0
  - related_resources: 5.0.0-dev.0
  - richdocumentscode: 26.4.302
  - serverinfo: 6.0.0
  - settings: 1.17.0
  - sharebymail: 1.24.0
  - support: 6.0.0
  - survey_client: 6.0.0-dev.0
  - suspicious_login: 12.0.0-dev.0
  - systemtags: 1.24.0
  - text: 8.0.0
  - theming: 2.9.0
  - twofactor_backupcodes: 1.23.0
  - twofactor_nextcloud_notification: 8.0.0
  - twofactor_totp: 16.0.0
  - updatenotification: 1.24.0
  - user_oidc: 8.11.0
  - user_status: 1.14.0
  - viewer: 7.0.0-dev.0
  - weather_status: 1.14.0
  - webhook_listeners: 1.6.0
  - workflowengine: 2.16.0
Disabled:
  - encryption: 2.22.0
  - files_external: 1.26.0
  - memories: 8.0.1 (installed 8.0.1)
  - metadata: 0.24.0 (installed 0.24.0)
  - notes: 6.0.0 (installed 6.0.0)
  - office: 1.0.0 (installed 1.0.0)
  - previewgenerator: 5.13.0 (installed 5.13.0)
  - side_menu: 6.0.0 (installed 6.0.0)
  - tasks: 0.17.1 (installed 0.17.1)
  - twofactor_admin: 4.11.1 (installed 4.11.1)
  - user_ldap: 1.25.0

Nextcloud configuration
{
    "system": {
        "htaccess.RewriteBase": "\/",
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "password": "***REMOVED SENSITIVE VALUE***",
            "timeout": 1.5
        },
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "upgrade.disable-web": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "wolkeplatz.jumikk.de"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "34.0.3.2",
        "overwritehost": "wolkeplatz.jumikk.de",
        "overwriteprotocol": "https",
        "overwrite.cli.url": "http:\/\/wolkeplatz.jumikk.de",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "default_phone_region": "DE",
        "default_language": "de",
        "default_local": "de_DE",
        "allow_local_remote_servers": true,
        "maintenance": false,
        "maintenance_window_start": 1,
        "loglevel": 2,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": true,
        "mail_smtpport": "465",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "memories.db.triggers.fcu": true,
        "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.gis_type": 1,
        "preview_max_x": 1024,
        "preview_max_y": 1024,
        "memories.vod.disable": false,
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "memories.vod.bind": "nextcloud_transcoder:47788",
        "memories.vod.connect": "nextcloud_transcoder:47788",
        "memories.vod.external": true,
        "app_install_overwrite": []
    }
}
Browser

Browser name: Firefox

Browser version: 155

Operating system: Linux / xUbuntu

Browser log
TypeError: t.joinPaths is not a function
    navigate RecommendedFile.vue:155
    click RecommendedFile.vue:1
    VueJS 3
vue.runtime.esm.js:3065:17
    VueJS 6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in RecommendedFile.vue at the navigate handler around line 155, using the browser error t.joinPaths is not a function as the first clue. Reproduce the click in the Files app and trace the recommended-folder navigation path. Done means clicking a recommended folder opens it and the browser no longer reports this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
84/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.