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
{{ message }}
Repository navigation
MariaDB JSON columns cause ActiveRecord::ConfigurationError with store_accessor (filters.fields) #2402
When running Fizzy on MariaDB, requests fail with:
ActiveRecord::ConfigurationError: the column 'fields' has not been configured as a store raised from Filter.from_params. MariaDB exposes JSON as LONGTEXT, so Rails store_accessor doesn't recognize it as a structured column.
I'm taking a look at this. MariaDB reporting JSON as LONGTEXT means store_accessor never binds, so Filter.from_params blows up before anything renders.
#2769 already proposes declaring the JSON attribute type. I'll verify that approach holds across all three adapters (Trilogy/MySQL, MariaDB, SQLite) and add coverage, since the fix needs to not regress the existing MySQL and SQLite paths. Will defer to #2769 if it lands first.
Activity
landure commentedon Jan 27, 2026
I confirm this issue.
Fix store_accessor on MariaDB by declaring JSON attribute type
diogovernier commentedon Mar 28, 2026
Hey, nice catch! 👋
I believe this PR I created will solve this: #2769
a-abdellatif98 commentedon Aug 15, 2026
I'm taking a look at this. MariaDB reporting JSON as LONGTEXT means
store_accessornever binds, soFilter.from_paramsblows up before anything renders.#2769 already proposes declaring the JSON attribute type. I'll verify that approach holds across all three adapters (Trilogy/MySQL, MariaDB, SQLite) and add coverage, since the fix needs to not regress the existing MySQL and SQLite paths. Will defer to #2769 if it lands first.
landure commentedon Nov 19, 2026
@omertahaoztop I'm still confronted with the issue. How did you solve the problem ?
omertahaoztop commentedon Nov 19, 2026
I just stop using Fizzy..