Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Numeric folder names break move dialog box #46715

Closed
5 of 8 tasks
artem-bm opened this issue Jul 24, 2024 · 2 comments · Fixed by #46728
Closed
5 of 8 tasks

[Bug]: Numeric folder names break move dialog box #46715

artem-bm opened this issue Jul 24, 2024 · 2 comments · Fixed by #46728
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 28-feedback bug feature: files

Comments

@artem-bm
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

If there is a folder in the folder with a name that is a number (for example, "1222"), then the folder/file structure is not displayed in the file/folder transfer dialog box.

Steps to reproduce

  1. Create folder "Test:
  2. In the folder "Test" create files or/and folders. Try to copy/move file from Test folder. - All OK !
  3. Create Folder "1220" in the Test folder. Try to copy/move file from Test folder - Window with directory tree is empty

Expected behavior

Window with "Test" directory tree

Installation method

Community Manual installation with Archive

Nextcloud Server version

28

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.gsom.spbu.ru",
            "195.19.237.19",
            "e-portal.gsom.spbu.ru",
            "84.23.54.137"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "28.0.8.1",
        "overwrite.cli.url": "http:\/\/cloud.gsom.spbu.ru",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_smtpauth": 1,
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "default_language": "ru",
        "theme": "",
        "loglevel": 2,
        "updater.release.channel": "stable",
        "maintenance_window_start": 1,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Memcached",
        "memcache.locking": "\\OC\\Memcache\\Memcached",
        "memcached_servers": [
            [
                "127.0.0.1",
                11211
            ]
        ],
        "onlyoffice": {
            "jwt_secret": "***REMOVED SENSITIVE VALUE***",
            "jwt_header": "Authorization"
        }
    }
}

List of activated Apps

Enabled:
  - admin_audit: 1.18.0
  - analytics: 4.14.0
  - announcementcenter: 6.8.1
  - bruteforcesettings: 2.8.0
  - calendar: 4.7.12
  - calendar_resource_management: 0.7.0
  - circles: 28.0.0
  - cloud_federation_api: 1.11.0
  - comments: 1.18.0
  - contacts: 5.5.3
  - contactsinteraction: 1.9.0
  - dashboard: 7.8.0
  - dav: 1.29.2
  - deck: 1.12.4
  - event_update_notification: 2.4.0
  - federatedfilesharing: 1.18.0
  - federation: 1.18.0
  - files: 2.0.0
  - files_accesscontrol: 1.18.1
  - files_external: 1.20.0
  - files_fulltextsearch: 28.0.0
  - files_pdfviewer: 2.9.0
  - files_reminders: 1.1.0
  - files_sharing: 1.20.0
  - files_trashbin: 1.18.0
  - files_versions: 1.21.0
  - forms: 4.2.4
  - fulltextsearch: 28.0.1
  - fulltextsearch_elasticsearch: 28.0.3
  - group_default_quota: 0.1.9
  - groupfolders: 16.0.7
  - groupquota: 0.2.0
  - impersonate: 1.15.0
  - logreader: 2.13.0
  - lookup_server_connector: 1.16.0
  - mail_roundcube: 1.1.1
  - maps: 1.4.0
  - metadata: 0.20.0
  - nextcloud_announcements: 1.17.0
  - notes: 4.10.1
  - notifications: 2.16.0
  - oauth2: 1.16.3
  - onlyoffice: 9.3.0
  - password_policy: 1.18.0
  - photos: 2.4.0
  - privacy: 1.12.0
  - provisioning_api: 1.18.0
  - quota_warning: 1.19.0
  - recognize: 6.1.1
  - recommendations: 2.0.0
  - registration: 2.4.0
  - related_resources: 1.3.0
  - serverinfo: 1.18.0
  - settings: 1.10.1
  - sharebymail: 1.18.0
  - spreed: 18.0.10
  - support: 1.11.1
  - survey_client: 1.16.0
  - suspicious_login: 6.0.0
  - systemtags: 1.18.0
  - text: 3.9.2
  - theming: 2.3.0
  - twofactor_backupcodes: 1.17.0
  - twofactor_totp: 10.0.0-beta.2
  - twofactor_webauthn: 1.4.0
  - updatenotification: 1.18.0
  - user_status: 1.8.1
  - viewer: 2.2.0
  - weather_status: 1.8.0
  - welcome: 1.1.0
  - workflow_ocr: 1.28.1
  - workflowengine: 2.10.0
Disabled:
  - activity: 2.20.0 (installed 2.20.0)
  - encryption: 2.16.0
  - firstrunwizard: 2.17.0 (installed 2.16.0)
  - user_ldap: 1.19.0 (installed 1.19.0)

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

No response

Additional info

No response

@artem-bm artem-bm added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jul 24, 2024
@solracsf solracsf changed the title [Bug]: Folder name - number [Bug]: If there is a folder with a name that is a number, structure is not displayed in the transfer dialog box Jul 24, 2024
@Derkades
Copy link

Derkades commented Jul 25, 2024

I can confirm this issue in NC 29.0.4, when trying to move a file a directory containing two subdirectories "2023" and "2024", only a placeholder file list is shown:
image

This error message appears in the console:

TypeError: (intermediate value).lastIndexOf is not a function
    ne index.mjs:971
    ne index.mjs:949
    ne index.mjs:947
    ne index.mjs:998
    h FilePicker-DUbP4INd.mjs:442
    VueJS 4
    ie FilePicker-DUbP4INd.mjs:513
    VueJS 13
    c FilePicker-DUbP4INd.mjs:900
    setup FilePicker-DUbP4INd.mjs:1000
    VueJS 13
    u index.mjs:12
    pick index.mjs:71
    pick index.mjs:70
    async*94979/$/< moveOrCopyAction.ts:231
    $ moveOrCopyAction.ts:187
    execBatch moveOrCopyAction.ts:287
    onActionClick FilesListTableHeaderActions.vue:112
    click FilesListTableHeaderActions.vue:1
    click NcActions-CL3YRRgz.mjs:667
    VueJS 4
    click NcButton.mjs:225
vue.runtime.esm.js:3065:16
    VueJS 16
    c FilePicker-DUbP4INd.mjs:900
    setup FilePicker-DUbP4INd.mjs:1000
    VueJS 13
    u index.mjs:12
    pick index.mjs:71
    pick index.mjs:70
    94979/$/< moveOrCopyAction.ts:231
    $ moveOrCopyAction.ts:187
    execBatch moveOrCopyAction.ts:287
    onActionClick FilesListTableHeaderActions.vue:112
    click FilesListTableHeaderActions.vue:1
    click NcActions-CL3YRRgz.mjs:667
    VueJS 4
    click NcButton.mjs:225

@joshtrichards joshtrichards changed the title [Bug]: If there is a folder with a name that is a number, structure is not displayed in the transfer dialog box [Bug]: Numeric folder names break move dialog box Jul 25, 2024
@susnux
Copy link
Contributor

susnux commented Jul 26, 2024

Resolved with #46728

@susnux susnux closed this as completed Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 28-feedback bug feature: files
Projects
None yet
5 participants