Skip to content

Fix double readme files getting created on case-insensitive storages - #4104

Merged
max-nextcloud merged 1 commit into
mainfrom
enh/noid/fix-doubled-readme-files
May 2, 2023
Merged

Fix double readme files getting created on case-insensitive storages#4104
max-nextcloud merged 1 commit into
mainfrom
enh/noid/fix-doubled-readme-files

Conversation

@szaimen

@szaimenszaimen commented May 2, 2023

Copy link
Copy Markdown
Contributor

Fix#3348

Apparently this got missing from #834 when the rebase was done.

See https://github.com/nextcloud/text/compare/1e600fb26111f0c850f134cf17aad96b1c8c59d3..7d6569cdf4c01e3467fe4b066a5f80bb56c48d9e

But actually @max-nextcloud and me tested a bit and this only seems to fix when creating new readme files from the workspace. The rootcase would probably need to be fixed somewhere in getFileInfo in View.php in server but we don't know much about that so adding this change here seems like a quick win.

@szaimenszaimen added bug Something isn't working 3. to review labels May 2, 2023
@szaimenszaimen added this to the Nextcloud 27 milestone May 2, 2023
@szaimen

Copy link
Copy Markdown
ContributorAuthor

/backport to stable26

@szaimen

Copy link
Copy Markdown
ContributorAuthor

/backport to stable25

@cypress

cypressBot commented May 2, 2023

Copy link
Copy Markdown

3 flaky tests on run #9590 ↗︎

014210Flakiness3

Details:

Fix double readme files getting created on case-insensitive storages
Project: TextCommit:dff1b3d91d
Status: PassedDuration: 04:03 💡
Started: May 2, 2023 12:56 PMEnded: May 2, 2023 1:00 PM
Flakiness workspace.spec.js • 1 flaky test

ViewOutputVideo

Test Artifacts
Workspace > callouts > toggle callouts OutputScreenshots
Flakiness sync.spec.js • 1 flaky test

ViewOutputVideo

Test Artifacts
Sync > recovers from a lost connection OutputScreenshots
Flakiness share.spec.js • 1 flaky test

ViewOutputVideo

Test Artifacts
Open test.md in viewer > Share a file with download disabled shows an error OutputScreenshots

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@max-nextcloudmax-nextcloud left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thanks for the fix.

@juliusknorr

Copy link
Copy Markdown
Member

Thanks a lot for that :)

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewbugSomething isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The Text app creates another Readme.md on top of the existing one

3 participants

@szaimen@juliusknorr@max-nextcloud