Trying to edit/create a segment for a Google Analytics database breaks Segments interface #13362
Labels
Administration/Metrics & Segments
Priority:P1
Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctness
Type:Bug
Product defects
Milestone
Describe the bug
Trying to edit/create a segment for a Google Analytics database breaks Segments interface.
Workaround: restore Segment interface is to manually archive the segment via the application database table
segment.archived
To Reproduce
Unexpected input given to normalize. Expected type to be "object", found "string".
There's a request to
/api/segment
, but with empty results and no errors in the log:Going to the newly created segment (by finding the segment ID from
/api/table/:id/query_metadata
)/admin/datamodel/segment/:id
, then I'm seeing the following error in the interface:ERROR: operator does not exist: integer = character varying Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts. Position: 35
Full stacktrace
Information about your Metabase Installation:
Metabase 0.36.6
Severity
Giving P1, since it breaks the entire Segments interface and is very difficult to fix.
Additional context
https://discourse.metabase.com/t/segments-section-is-broken/11860
Very related to #10844
The text was updated successfully, but these errors were encountered: