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

Static Files as Resource Not working as expected - missing file field and tabs not working #16509

Open
neoneddy opened this issue Jan 11, 2024 · 1 comment
Labels
bug The issue in the code or project, which should be addressed.

Comments

@neoneddy
Copy link

Bug report

Summary

Trying to use static files like in 2.x and it appears the static file field is not showing, as well as the tabs not working for settings, resource groups, etc. So I can't revert the resource type back to anything else.

Step to reproduce

Make a new static resource.

Observed behavior

image

Expected behavior

We should see a static resource file path, and the ability to change tabs. I looked into the html and they are not rendered at all, so it's likely not that the tabs don't work, but that they have nothing to show.

Environment

MODX Cloud - MODX 3.0.4 , FRED (latest) , some light manager customization.

@neoneddy neoneddy added the bug The issue in the code or project, which should be addressed. label Jan 11, 2024
@halftrainedharry
Copy link
Contributor

some light manager customization.

I can't reproduce this issue with a clean installation of MODX 3.0.4.
Probably the manager customization or an installed extra causes the issue.
Can you try to figure out, what exactly breaks the UI?


So I can't revert the resource type back to anything else.

Try changing it directly in the database. In the Table modx_site_content, set the column class_key back to MODX\Revolution\modDocument.

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
Development

No branches or pull requests

2 participants