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

[BUG]: Incorrect date type stored in MongoDB #3115

Open
gdude2002 opened this issue Oct 31, 2021 · 0 comments
Open

[BUG]: Incorrect date type stored in MongoDB #3115

gdude2002 opened this issue Oct 31, 2021 · 0 comments
Labels
bug This is a confirmed bug priority: low Something that's not on top of the list. You are free to submit a pull request though

Comments

@gdude2002
Copy link

gdude2002 commented Oct 31, 2021

Bot Version

v3.10.2

How are you hosting Modmail?

Patreon

Error Logs

N/A

Screenshots

Sample thread document

Sample thread document

Metabase error

Metabase error

Additional Information

This isn't so much a user-level bug as it is a data integrity issue.

When attempting to make use of the data stored in the MongoDB database managed by the modmail bot, it's impossible to filter or group based on dates because fields such as created_at are strings, rather than actual valid MongoDB dates.

A fix (and database migration step) for this issue is probably a good idea - not just so that one can perform statistical analysis against the database using external tools, but also just to improve overall data integrity.

@gdude2002 gdude2002 added the maybe: bug An unconfirmed bug label Oct 31, 2021
@fourjr fourjr added the priority: low Something that's not on top of the list. You are free to submit a pull request though label Nov 19, 2021
@Taaku18 Taaku18 added bug This is a confirmed bug and removed maybe: bug An unconfirmed bug labels Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is a confirmed bug priority: low Something that's not on top of the list. You are free to submit a pull request though
Projects
None yet
Development

No branches or pull requests

3 participants