gristlabs_grist-core/sandbox/grist
Dmitry S 08b91c4cb7 (core) Fix serialization of values derived from primitive types, like IntEnum.
Summary:
There is a range of types that -- when returned from formulas -- used to cause
bad errors (that looked like a data engine crash and were reported as "Memory
Error") because they looked like primitive types but were not marshallable. For
example, IntEnum.

We now encode such values as the primitive type they are based on.

Test Plan:
- Added a unittest that encode_object() now handles problematic values.
- Added a browser test case that problematic values are no longer causing errors.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4336
2024-09-04 16:51:51 -04:00
..
functions (core) Update documentation for lookup/find/prevnext for the Help Center 2024-08-12 12:50:44 -04:00
imports
acl.py Update dropdown conditions on column rename (#1038) 2024-07-12 14:58:49 +00:00
action_obj.py
action_summary.py
actions.py
attribute_recorder.py
autocomplete_context.py
codebuilder.py (core) Implement PREVIOUS/NEXT/RANK and lookupRecords().find.* methods. 2024-07-17 12:00:55 -04:00
column.py (core) Fix for ReferenceList conversion during table rename 2024-04-24 17:00:11 +02:00
csv_patch.py
depend.py
docactions.py
docmodel.py
dropdown_condition.py (core) Replacing python3 specifc code 2024-07-16 17:52:38 +02:00
engine.py (core) New API to collect timing information from formula evaluation. 2024-04-24 11:07:11 +02:00
fake_std_streams.py (core) Implement PREVIOUS/NEXT/RANK and lookupRecords().find.* methods. 2024-07-17 12:00:55 -04:00
formula_prompt.py (core) Add AI Assistant retry with shorter prompt 2024-02-12 11:06:52 -05:00
friendly_errors.py
gencode.py fixes removed module in Python 3.12 (#984) 2024-05-20 14:56:05 +01:00
grist.py
identifiers.py
import_actions.py
lookup.py (core) Implement PREVIOUS/NEXT/RANK and lookupRecords().find.* methods. 2024-07-17 12:00:55 -04:00
main.py (core) Adding UI for timing API 2024-05-22 14:56:53 +02:00
match_counter.py
migrations.py Webhook trigger update by column (#832) 2024-04-12 16:04:37 -04:00
moment.py (core) Cache converting timestamp to date 2024-01-08 10:50:50 +02:00
objtypes.py (core) Fix serialization of values derived from primitive types, like IntEnum. 2024-09-04 16:51:51 -04:00
parse_data.py
predicate_formula.py Update dropdown conditions on column rename (#1038) 2024-07-12 14:58:49 +00:00
records.py (core) Update documentation for lookup/find/prevnext for the Help Center 2024-08-12 12:50:44 -04:00
relabeling.py
relation.py
runtests.py
sandbox.py
schema.py Webhook trigger update by column (#832) 2024-04-12 16:04:37 -04:00
sort_key.py (core) Implement PREVIOUS/NEXT/RANK and lookupRecords().find.* methods. 2024-07-17 12:00:55 -04:00
sort_specs.py
summary.py
table_data_set.py
table.py (core) Update documentation for lookup/find/prevnext for the Help Center 2024-08-12 12:50:44 -04:00
test_acl_formula.py (core) Add dropdown conditions 2024-04-26 16:57:55 -04:00
test_acl_renames.py Update dropdown conditions on column rename (#1038) 2024-07-12 14:58:49 +00:00
test_actions.py
test_codebuilder.py
test_column_actions.py
test_completion.py (core) add initial support for special shares 2024-01-04 05:57:38 -05:00
test_default_formulas.py
test_depend.py
test_derived.py
test_display_cols.py
test_docmodel.py
test_dropdown_condition_renames.py Update dropdown conditions on column rename (#1038) 2024-07-12 14:58:49 +00:00
test_dropdown_condition.py (core) Add dropdown conditions 2024-04-26 16:57:55 -04:00
test_engine.py (core) Implement PREVIOUS/NEXT/RANK and lookupRecords().find.* methods. 2024-07-17 12:00:55 -04:00
test_find_col.py
test_formula_error.py
test_formula_prompt.py
test_formula_undo.py
test_functions.py
test_gencode.py
test_import_actions.py
test_lookup_find.py (core) Implement PREVIOUS/NEXT/RANK and lookupRecords().find.* methods. 2024-07-17 12:00:55 -04:00
test_lookup_perf.py (core) Implement PREVIOUS/NEXT/RANK and lookupRecords().find.* methods. 2024-07-17 12:00:55 -04:00
test_lookup_sort.py (core) Implement PREVIOUS/NEXT/RANK and lookupRecords().find.* methods. 2024-07-17 12:00:55 -04:00
test_lookups.py (core) Implement PREVIOUS/NEXT/RANK and lookupRecords().find.* methods. 2024-07-17 12:00:55 -04:00
test_match_counter.py
test_migrations.py
test_moment.py
test_objtypes.py (core) Fix serialization of values derived from primitive types, like IntEnum. 2024-09-04 16:51:51 -04:00
test_predicate_formula.py Update dropdown conditions on column rename (#1038) 2024-07-12 14:58:49 +00:00
test_prevnext.py (core) Implement PREVIOUS/NEXT/RANK and lookupRecords().find.* methods. 2024-07-17 12:00:55 -04:00
test_record_func.py
test_recordlist.py
test_reflist_rel.py
test_relabeling.py
test_renames2.py
test_renames.py (core) Fix bug with column renames when using **kwargs with lookupOne or lookupRecords. 2024-05-09 09:37:10 -04:00
test_replace_table_data.py (core) Fix bug in data engine when records are added after clearing a table with ReplaceTableData. 2024-02-05 12:22:14 -05:00
test_replay.py
test_requests.py
test_rules_grid.py
test_rules.py
test_side_effects.py
test_sort_key.py (core) Implement PREVIOUS/NEXT/RANK and lookupRecords().find.* methods. 2024-07-17 12:00:55 -04:00
test_sort_spec.py
test_summary2.py
test_summary_choicelist.py (core) Implement PREVIOUS/NEXT/RANK and lookupRecords().find.* methods. 2024-07-17 12:00:55 -04:00
test_summary_undo.py
test_summary.py
test_table_actions.py
test_table_data_set.py
test_temp_rowids.py (core) Implement PREVIOUS/NEXT/RANK and lookupRecords().find.* methods. 2024-07-17 12:00:55 -04:00
test_textbuilder.py
test_treeview.py
test_trigger_formulas.py (core) add initial support for special shares 2024-01-04 05:57:38 -05:00
test_twowaymap.py
test_types.py
test_undo.py
test_urllib_patch.py
test_user.py (core) add initial support for special shares 2024-01-04 05:57:38 -05:00
test_useractions.py (core) Revert D4302 2024-08-27 23:13:01 -04:00
testsamples.py
testscript.json (core) Polish Record Cards 2024-01-30 13:25:50 -05:00
testutil.py (core) Implement PREVIOUS/NEXT/RANK and lookupRecords().find.* methods. 2024-07-17 12:00:55 -04:00
textbuilder.py
timing.py (core) New API to collect timing information from formula evaluation. 2024-04-24 11:07:11 +02:00
treeview.py
twowaymap.py (core) Implement PREVIOUS/NEXT/RANK and lookupRecords().find.* methods. 2024-07-17 12:00:55 -04:00
tzdata.data
urllib_patch.py
user.py (core) add initial support for special shares 2024-01-04 05:57:38 -05:00
useractions.py (core) Revert D4302 2024-08-27 23:13:01 -04:00
usercode.py (core) Make Python tests pass in Python 3.11 2023-07-28 16:37:38 +02:00
usertypes.py (core) Implement PREVIOUS/NEXT/RANK and lookupRecords().find.* methods. 2024-07-17 12:00:55 -04:00
xmlrunner.py