gristlabs_grist-core/sandbox/grist
Dmitry S e5beafb256 (core) Fix bug causing "unmarshallable object" error during conversion to ReferenceList.
Summary:
When a value $B.A is a ReferenceList, returning it in an Any column can cause
an "unmarshallable object" error, if the RecordSet happens to be storing
row_ids in the form of a nested RecordList object. This happened consistently
when $B.A started off as another type and got converted to ReferenceList.

A specific manifestation was when a reference column $B uses "A" as a display
column, and this column gets converted from Text to ReferenceList.

Test Plan: Added a test that reproduces the problem.

Reviewers: alexmojaki

Reviewed By: alexmojaki

Differential Revision: https://phab.getgrist.com/D3089
2021-10-25 00:18:32 -04:00
..
functions (core) Account for timezone in TODAY() 2021-10-21 18:27:35 +02:00
imports (core) Fix import parsing from choking up on Python isdigit() surprises 2021-09-20 16:17:34 -04:00
acl_formula.py
acl.py
action_obj.py
action_summary.py
actions.py
autocomplete_context.py
codebuilder.py (core) Raise syntax errors that Python can format nicely to show the location 2021-09-24 15:07:09 +02:00
column.py (core) Only update changed records with RenameChoices 2021-10-01 21:32:52 +02:00
csv_patch.py
depend.py
docactions.py
docmodel.py
engine.py (core) Log statistics about table sizes 2021-10-21 17:54:20 +02:00
gencode.py
gpath.py
grist.py
identifiers.py (core) Remove accents when picking identifiers 2021-08-24 14:47:50 +02:00
import_actions.py (core) Migrate import code from data engine to Node 2021-10-04 10:27:00 -07:00
logger.py
lookup.py
main.py (core) Log statistics about table sizes 2021-10-21 17:54:20 +02:00
match_counter.py
migrations.py (core) Initial webhooks implementation 2021-09-23 14:35:39 +02:00
moment_parse.py
moment.py
objtypes.py (core) Fix bug causing "unmarshallable object" error during conversion to ReferenceList. 2021-10-25 00:18:32 -04:00
parse_data.py
records.py (core) Fix bug causing "unmarshallable object" error during conversion to ReferenceList. 2021-10-25 00:18:32 -04:00
relabeling.py
relation.py
runtests.py
sandbox.py
schema.py (core) Initial webhooks implementation 2021-09-23 14:35:39 +02:00
summary.py
table_data_set.py
table.py (core) treat summary tables like formulas for access control purposes 2021-09-16 18:44:50 -04:00
test_acl_formula.py
test_acl_renames.py
test_actions.py
test_codebuilder.py (core) Raise syntax errors that Python can format nicely to show the location 2021-09-24 15:07:09 +02:00
test_column_actions.py
test_completion.py (core) update tests after jenkins engine freshening 2021-09-18 09:58:35 -04:00
test_default_formulas.py
test_depend.py
test_derived.py
test_display_cols.py
test_docmodel.py
test_engine.py (core) Add RenameChoices user action 2021-09-30 16:43:40 +02:00
test_find_col.py
test_formula_error.py (core) Adding traceback to trigger formulas 2021-09-27 17:12:39 +02:00
test_formula_undo.py (core) Suggest correct table when converting to RefList 2021-08-20 23:04:48 +02:00
test_functions.py
test_gencode.py (core) Raise syntax errors that Python can format nicely to show the location 2021-09-24 15:07:09 +02:00
test_gpath.py
test_import_actions.py
test_logger.py
test_lookups.py
test_match_counter.py
test_migrations.py
test_moment.py
test_record_func.py
test_recordlist.py
test_reflist_rel.py
test_relabeling.py
test_renames2.py
test_renames.py (core) Suggest correct table when converting to RefList 2021-08-20 23:04:48 +02:00
test_replay.py
test_side_effects.py
test_summary2.py
test_summary_choicelist.py (core) Add RenameChoices user action 2021-09-30 16:43:40 +02:00
test_summary.py (core) Nicer conversion from numeric to text 2021-09-30 14:16:24 +02:00
test_table_actions.py
test_table_data_set.py
test_temp_rowids.py
test_textbuilder.py
test_treeview.py
test_trigger_formulas.py (core) Adding traceback to trigger formulas 2021-09-27 17:12:39 +02:00
test_twowaymap.py
test_types.py (core) Nicer conversion from numeric to text 2021-09-30 14:16:24 +02:00
test_undo.py
test_urllib_patch.py
test_user.py
test_useractions.py (core) Only update changed records with RenameChoices 2021-10-01 21:32:52 +02:00
testsamples.py
testscript.json
testutil.py
textbuilder.py
treeview.py
twowaymap.py
tzdata.data
urllib_patch.py
user.py
useractions.py (core) Migrate import code from data engine to Node 2021-10-04 10:27:00 -07:00
usercode.py (core) Raise syntax errors that Python can format nicely to show the location 2021-09-24 15:07:09 +02:00
usertypes.py (core) Nicer conversion from numeric to text 2021-09-30 14:16:24 +02:00
xmlrunner.py