-
-
Notifications
You must be signed in to change notification settings - Fork 332
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
Mathesar Unable to Retrieve Records from Database #3375
Comments
Thanks for reporting this, @MrChadMWood. Just a brief heads up that all maintainers will be on holiday break until January 2nd. We'll help troubleshoot this with you when we return! |
@Anish9901 I've assigned this to you because I think we need a maintainer to look into this and try to reproduce it or better understand it. Can you spend some time with it and report back with your findings and recommendations for next steps? |
@MrChadMWood Does the issue persist after clicking 'Sync External Changes' button on the database page? Regardless of whether this fixes the issue, it would be great if you could provide a mock data model of the schema within which the error occurs, as it is difficult to pinpoint the cause of the error by looking at the error logs. |
It looks like a Constraint model instance representing a foreign key has ended up in an inconsistent state w.r.t. its linked (referent) Column model instances. |
@MrChadMWood are you still encountering this? I'm trying to move this issue along. We're not able to reproduce this, and it looks like we need some more info from you before we're able to help. Was this bug just a fluke that you never saw again?
|
@MrChadMWood since we haven't heard from you in a while about this, I'm going to close it. We'll be happy to re-open it if we can get some more info to help our troubleshooting efforts. It's also worth mentioning that we're in the process of a substantial backend overhaul that will bring many stability improvements for Mathesar's beta release later this year. Hopefully bugs like this will go away on their own! |
Description
Mathesar is unable to retrieve records, winds up saying no records found.
Expected behavior
Records should be retrieved without error and displayed. If an error does occur, maybe it is better to indicate this from the frontend instead of just showing "No Records Found".
To Reproduce
I am unsure what caused the issue. Please see the additional context.
Environment
Additional context
Log statement of the error:
Without better knowledge of Mathesar's internal operations, it looks to me like
qs._result_cache
is an empty list- causing this error to be thrown. I'm not sure how or why the list would be empty.Image of error from frontend:
The text was updated successfully, but these errors were encountered: