nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.65k stars 3.99k forks source link

[Bug]: NC 25.0.3 doesn't display file/directory title on public page #36209

Closed RodSeq closed 1 year ago

RodSeq commented 1 year ago

⚠️ This issue respects the following points: ⚠️

Bug description

Upgrading from NC 25.0.2 to 25.0.3, public pages don't display anymore the title of the file or directory being shared.

Steps to reproduce

  1. Create a public link with NC 25.0.3 for a Nextcloud document or directory.
  2. Open the public page link: the title of the file or directory is not displayed on the top-banner next to the Nextcloud logo.

**See screenshots below:

Screenshot 2023-01-18 at 11 54 53 Screenshot 2023-01-18 at 11 55 57

Screenshot 2023-01-18 at 11 56 34 Screenshot 2023-01-18 at 11 56 51

Expected behavior

The public page should display the title of the file or directory being shared on the top-banner next to the Nextcloud logo, as it used to be using NC 25.0.2 and lower versions.

Installation method

Community Web installer on a VPS or web space

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.0

Web server

None

Database engine version

MySQL

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

Updated from a minor version (ex. 22.2.3 to 22.2.4)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

No response

List of activated Apps

{
    "id": "ocxstscwt80i",
    "items": [
        [
            "server",
            "version",
            "25.0.3.2"
        ],
        [
            "server",
            "code",
            "other"
        ],
        [
            "server",
            "enable_avatars",
            "yes"
        ],
        [
            "server",
            "enable_previews",
            "yes"
        ],
        [
            "server",
            "memcache.local",
            "\\OC\\Memcache\\APCu"
        ],
        [
            "server",
            "memcache.distributed",
            "none"
        ],
        [
            "server",
            "asset-pipeline.enabled",
            "no"
        ],
        [
            "server",
            "filelocking.enabled",
            "yes"
        ],
        [
            "server",
            "memcache.locking",
            "\\OC\\Memcache\\Redis"
        ],
        [
            "server",
            "debug",
            "no"
        ],
        [
            "server",
            "cron",
            "cron"
        ],
        [
            "php",
            "version",
            "8.0.27"
        ],
        [
            "php",
            "memory_limit",
            536870912
        ],
        [
            "php",
            "max_execution_time",
            3600
        ],
        [
            "php",
            "upload_max_filesize",
            10737418240
        ],
        [
            "database",
            "type",
            "mysql"
        ],
        [
            "database",
            "version",
            "10.5.18"
        ],
        [
            "database",
            "size",
            47783936
        ],
        [
            "apps",
            "activity",
            "2.17.0"
        ],
        [
            "apps",
            "admin_audit",
            "1.15.0"
        ],
        [
            "apps",
            "analytics",
            "4.6.0"
        ],
        [
            "apps",
            "appointments",
            "disabled"
        ],
        [
            "apps",
            "apporder",
            "disabled"
        ],
        [
            "apps",
            "audioplayer",
            "disabled"
        ],
        [
            "apps",
            "audioplayer_editor",
            "disabled"
        ],
        [
            "apps",
            "calendar",
            "4.2.1"
        ],
        [
            "apps",
            "circles",
            "disabled"
        ],
        [
            "apps",
            "cloud_federation_api",
            "1.8.0"
        ],
        [
            "apps",
            "comments",
            "1.15.0"
        ],
        [
            "apps",
            "contacts",
            "5.0.2"
        ],
        [
            "apps",
            "contactsinteraction",
            "disabled"
        ],
        [
            "apps",
            "cospend",
            "1.5.5"
        ],
        [
            "apps",
            "dashboard",
            "7.5.0"
        ],
        [
            "apps",
            "dav",
            "1.24.0"
        ],
        [
            "apps",
            "deck",
            "1.8.3"
        ],
        [
            "apps",
            "emlviewer",
            "disabled"
        ],
        [
            "apps",
            "event_update_notification",
            "disabled"
        ],
        [
            "apps",
            "federatedfilesharing",
            "1.15.0"
        ],
        [
            "apps",
            "federation",
            "1.15.0"
        ],
        [
            "apps",
            "files",
            "1.20.1"
        ],
        [
            "apps",
            "files_downloadactivity",
            "disabled"
        ],
        [
            "apps",
            "files_pdfviewer",
            "2.6.0"
        ],
        [
            "apps",
            "files_rightclick",
            "1.4.0"
        ],
        [
            "apps",
            "files_sharing",
            "1.17.0"
        ],
        [
            "apps",
            "files_trashbin",
            "1.15.0"
        ],
        [
            "apps",
            "files_versions",
            "1.18.0"
        ],
        [
            "apps",
            "files_zip",
            "disabled"
        ],
        [
            "apps",
            "firstrunwizard",
            "2.14.0"
        ],
        [
            "apps",
            "forms",
            "3.0.3"
        ],
        [
            "apps",
            "groupfolders",
            "13.1.0"
        ],
        [
            "apps",
            "guests",
            "disabled"
        ],
        [
            "apps",
            "integration_jira",
            "1.0.4"
        ],
        [
            "apps",
            "integration_whiteboard",
            "disabled"
        ],
        [
            "apps",
            "logreader",
            "2.10.0"
        ],
        [
            "apps",
            "lookup_server_connector",
            "1.13.0"
        ],
        [
            "apps",
            "music",
            "disabled"
        ],
        [
            "apps",
            "nextcloud_announcements",
            "1.14.0"
        ],
        [
            "apps",
            "notifications",
            "2.13.1"
        ],
        [
            "apps",
            "oauth2",
            "1.13.0"
        ],
        [
            "apps",
            "onlyoffice",
            "disabled"
        ],
        [
            "apps",
            "password_policy",
            "1.15.0"
        ],
        [
            "apps",
            "photos",
            "2.0.1"
        ],
        [
            "apps",
            "polls",
            "disabled"
        ],
        [
            "apps",
            "privacy",
            "1.9.0"
        ],
        [
            "apps",
            "provisioning_api",
            "1.15.0"
        ],
        [
            "apps",
            "ransomware_protection",
            "1.14.0"
        ],
        [
            "apps",
            "recommendations",
            "1.4.0"
        ],
        [
            "apps",
            "related_resources",
            "1.0.4"
        ],
        [
            "apps",
            "richdocuments",
            "7.1.0"
        ],
        [
            "apps",
            "richdocumentscode",
            "disabled"
        ],
        [
            "apps",
            "serverinfo",
            "1.15.0"
        ],
        [
            "apps",
            "settings",
            "1.7.0"
        ],
        [
            "apps",
            "sharebymail",
            "1.15.0"
        ],
        [
            "apps",
            "side_menu",
            "3.5.1"
        ],
        [
            "apps",
            "spreed",
            "15.0.2"
        ],
        [
            "apps",
            "support",
            "1.8.0"
        ],
        [
            "apps",
            "survey_client",
            "1.13.0"
        ],
        [
            "apps",
            "systemtags",
            "1.15.0"
        ],
        [
            "apps",
            "talk_simple_poll",
            "disabled"
        ],
        [
            "apps",
            "tasks",
            "disabled"
        ],
        [
            "apps",
            "text",
            "3.6.0"
        ],
        [
            "apps",
            "theming",
            "2.0.1"
        ],
        [
            "apps",
            "theming_customcss",
            "disabled"
        ],
        [
            "apps",
            "twofactor_backupcodes",
            "1.14.0"
        ],
        [
            "apps",
            "unsplash",
            "disabled"
        ],
        [
            "apps",
            "updatenotification",
            "1.15.0"
        ],
        [
            "apps",
            "user_ldap",
            "1.15.0"
        ],
        [
            "apps",
            "user_status",
            "1.5.0"
        ],
        [
            "apps",
            "video_converter",
            "disabled"
        ],
        [
            "apps",
            "viewer",
            "1.9.0"
        ],
        [
            "apps",
            "weather_status",
            "1.5.0"
        ],
        [
            "apps",
            "workflowengine",
            "2.7.0"
        ],
        [
            "stats",
            "num_files",
            65797
        ],
        [
            "stats",
            "num_users",
            25
        ],
        [
            "stats",
            "num_storages",
            28
        ],
        [
            "stats",
            "num_storages_local",
            1
        ],
        [
            "stats",
            "num_storages_home",
            26
        ],
        [
            "stats",
            "num_storages_other",
            1
        ],
        [
            "stats",
            "num_comments",
            1447
        ],
        [
            "stats",
            "num_comment_markers",
            3
        ],
        [
            "stats",
            "num_systemtags",
            5
        ],
        [
            "stats",
            "num_systemtags_mappings",
            5
        ],
        [
            "files_sharing",
            "num_shares",
            284
        ],
        [
            "files_sharing",
            "num_shares_user",
            13
        ],
        [
            "files_sharing",
            "num_shares_groups",
            0
        ],
        [
            "files_sharing",
            "num_shares_link",
            198
        ],
        [
            "files_sharing",
            "num_shares_link_no_password",
            198
        ],
        [
            "files_sharing",
            "num_fed_shares_sent",
            0
        ],
        [
            "files_sharing",
            "num_fed_shares_received",
            0
        ],
        [
            "files_sharing",
            "permissions_13_0",
            "1"
        ],
        [
            "files_sharing",
            "permissions_0_1",
            "5"
        ],
        [
            "files_sharing",
            "permissions_3_1",
            "75"
        ],
        [
            "files_sharing",
            "permissions_4_1",
            "1"
        ],
        [
            "files_sharing",
            "permissions_0_3",
            "6"
        ],
        [
            "files_sharing",
            "permissions_3_3",
            "8"
        ],
        [
            "files_sharing",
            "permissions_4_3",
            "1"
        ],
        [
            "files_sharing",
            "permissions_10_3",
            "4"
        ],
        [
            "files_sharing",
            "permissions_11_3",
            "4"
        ],
        [
            "files_sharing",
            "permissions_12_3",
            "7"
        ],
        [
            "files_sharing",
            "permissions_13_3",
            "54"
        ],
        [
            "files_sharing",
            "permissions_3_4",
            "4"
        ],
        [
            "files_sharing",
            "permissions_0_15",
            "2"
        ],
        [
            "files_sharing",
            "permissions_3_15",
            "16"
        ],
        [
            "files_sharing",
            "permissions_12_15",
            "1"
        ],
        [
            "files_sharing",
            "permissions_3_17",
            "92"
        ],
        [
            "files_sharing",
            "permissions_3_19",
            "1"
        ],
        [
            "files_sharing",
            "permissions_3_31",
            "2"
        ],
        [
            "encryption",
            "enabled",
            "no"
        ],
        [
            "encryption",
            "default_module",
            "no"
        ]
    ]
}

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

szaimen commented 1 year ago

PR here: https://github.com/nextcloud/server/pull/36193

solracsf commented 1 year ago

Closed by https://github.com/nextcloud/server/pull/36193