You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you are on an index and you search for something that returns an empty table. When you try to export that it raises an error
uninitialized constant Class::ATTRIBUTE_TYPES
@lethunder Thank you for flagging it. I'm not sure I have time to look into this error but if you're able to issue a PR with a fix -- I'll review it and merge it.
@lethunder I was trying to reproduce it, but I could not. If I have an empty table, because of a search that throws that, or because I have no elements, Im still able to export without errors (and having an empty CSV of course, only headers)
Could you let me know if you're still having this error?
Activity
andreibondarev commentedon Dec 20, 2023
@lethunder Thank you for flagging it. I'm not sure I have time to look into this error but if you're able to issue a PR with a fix -- I'll review it and merge it.
darkaico commentedon Sep 24, 2024
@lethunder I was trying to reproduce it, but I could not. If I have an empty table, because of a search that throws that, or because I have no elements, Im still able to export without errors (and having an empty CSV of course, only headers)
Could you let me know if you're still having this error?
andreibondarev commentedon Oct 21, 2026
This is addressed in #59 and will close automatically when it's merged.
Fix open issues: empty exports, N+1 queries, Turbolinks, plural routes (