nextcloud / text

📑 Collaborative document editing using Markdown
GNU Affero General Public License v3.0
550 stars 87 forks source link

[Bug]: Files app: creating a new folder description creates a localized readme.md #6462

Open Duviri opened 2 weeks ago

Duviri commented 2 weeks ago

⚠️ This issue respects the following points: ⚠️

Bug description

Hello, i found a harmless bug while using my Nextcloud and wanted to help by pointing it out. below are the details:

In the Files App: Creating a folder description file (normally a readme.md) using the user interface, instead creates one in the language of the user interface, in my case : [lisez moi.md] . Nextcloud doesn't recognize it, i simply renamed it to readme.md and the description box appeared :)

Below i am attaching a screen capture of the Files app successfully creating a [Lisez moi.md] despite the correct recognized file name being [readme.md] and the user interface not showing the folder description box. Screenshot_20240927_161343

Steps to reproduce

  1. set your nextcloud language to french (in my case)
  2. open the Files app and navigate to a folder with no readme.md
  3. select "create a folder description"

Expected behavior

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Nginx

Database engine version

MariaDB

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?

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

browser : Firefox-esr-fr Nextcloud : Hub 8 (29.0.7)

joshtrichards commented 2 weeks ago

Hi @Duviri - Thanks for the report. I believe this basically nextcloud/text#5953 and/or nextcloud/text#5446.

Duviri commented 2 weeks ago

Hi, It seems this ticket could be considered a duplicate of the latter, #5446 since fixing it would also fix this issue. You could close this issue as duplicate. Sincerely.