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

MODX does not allow you to create/open an empty file #15976

Closed
Ruslan-Aleev opened this issue Jan 19, 2022 · 2 comments · Fixed by #15977 or #15985
Closed

MODX does not allow you to create/open an empty file #15976

Ruslan-Aleev opened this issue Jan 19, 2022 · 2 comments · Fixed by #15977 or #15985
Assignees
Labels
bug The issue in the code or project, which should be addressed.
Milestone

Comments

@Ruslan-Aleev
Copy link
Collaborator

Bug report

Summary

MODX does not allow you to create/open an empty file, even if the file is not created through the CMS.

Step to reproduce

Try to create an empty txt file and save it.

emptyFile

If you create an empty file on the server, then MODX will display the file in the tree, but will not allow you to open it.

Environment

MODX 3.0.0-rc1

@Ruslan-Aleev Ruslan-Aleev added the bug The issue in the code or project, which should be addressed. label Jan 19, 2022
@Mark-H Mark-H self-assigned this Jan 19, 2022
Mark-H added a commit to Mark-H/revolution that referenced this issue Jan 19, 2022
@Mark-H Mark-H added this to the v3.0.0-rc2 milestone Jan 19, 2022
@opengeek opengeek linked a pull request Jan 19, 2022 that will close this issue
@Mark-H Mark-H modified the milestones: v3.0.0-rc2, v3.0.0-rc1 Jan 19, 2022
@Mark-H
Copy link
Collaborator

Mark-H commented Jan 19, 2022

Fixed for rc1

@Mark-H Mark-H closed this as completed Jan 19, 2022
@Mark-H Mark-H reopened this Jan 21, 2022
@Mark-H
Copy link
Collaborator

Mark-H commented Jan 21, 2022

While it's possible to create now, I somehow overlooked the tree not allowing it to be clicked: #15977 (comment) 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue in the code or project, which should be addressed.
Projects
None yet
3 participants