gristlabs_grist-core/app
George Gevoian c6aa9b65d4 (core) Fix bug preventing importing of nested json files
Summary:
BulkAddRecord when finishing imports of nested JSON was throwing
an error due to unchecked access of referencing tables. This adds
a guard to prepare_new_values to handle such cases.

Imports happened to cause this to occur because the order that
imported tables are created/populated isn't aware of references
between tables, so it's possible for a reference column to
exist (momentarily) without a valid reference to another table.
These references are currently fixed after all imported tables are
created/populated.

Test Plan: Browser test.

Reviewers: dsagal

Reviewed By: dsagal

Subscribers: dsagal

Differential Revision: https://phab.getgrist.com/D3144
2021-11-18 17:06:03 -08:00
..
client (core) Expanding search textbox to full height. 2021-11-18 23:48:07 +01:00
common (core) Add additional org items to AppHeader 2021-11-05 08:19:51 -07:00
gen-server (core) make document assignment endpoint available via /housekeeping api 2021-11-04 16:14:21 -04:00
plugin (core) Parsing multiple values in reflists, parsing refs without table data in client 2021-11-09 14:41:04 +02:00
server (core) Fix bug preventing importing of nested json files 2021-11-18 17:06:03 -08:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00