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

Recently edited resources crashes if createdon is 0 #16512

Open
BobRay opened this issue Jan 17, 2024 · 0 comments · May be fixed by #16604
Open

Recently edited resources crashes if createdon is 0 #16512

BobRay opened this issue Jan 17, 2024 · 0 comments · May be fixed by #16604
Labels
bug The issue in the code or project, which should be addressed.

Comments

@BobRay
Copy link
Contributor

BobRay commented Jan 17, 2024

Bug report

Summary

Some resources installed by extras can have a createdon value of 0. In MODX 3.0.4, this crashes the Recently edited widget with a big error message with a red background.

This happens with display_errors on or off.

This does not happen in MODX 3.0.1 or MODX 2.8.5

Step to reproduce

Set a Resource createdon value to 0 in the DB
Reload a dashboard containing the Recently Edited Resources Widget

@BobRay BobRay added the bug The issue in the code or project, which should be addressed. label Jan 17, 2024
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

Successfully merging a pull request may close this issue.

1 participant