Skip to content

Conversation

@szaimen
Copy link
Contributor

@szaimen szaimen commented May 2, 2023

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.

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

szaimen commented May 2, 2023

/backport to stable26

@szaimen
Copy link
Contributor Author

szaimen commented May 2, 2023

/backport to stable25

@cypress
Copy link

cypress bot commented May 2, 2023

3 flaky tests on run #9590 ↗︎

0 142 1 0 Flakiness 3

Details:

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

View Output Video

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

View Output Video

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

View Output Video

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

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

Copy link
Collaborator

@max-nextcloud max-nextcloud left a comment

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
Member

Thanks a lot for that :)

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

Labels

3. to review bug Something 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

4 participants