mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
f024aaaf5d
Summary: Addresses several issues: - Error 'Cannot modify summary group-by column' when changing Text -> ChoiceList in the presence of summary tables. - Error 'ModifyColumn in unexpected position' when changing ChoiceList -> Text in the presence of summary tables. - Double-evaluation of trigger formulas in some cases. Fixes include: - Fixed verification that summary group-by columns match the underlying ones, and added comments to explain. - Avoid updating non-metadata lookups after each doc-action (early lookups generated extra actions to populate summary tables, causing the 'ModifyColumn in unexpected position' bug) - When updating formulas, do update lookups first. - Made a client-side tweak to avoid a JS error in case of some undos. Solution to reduce lookups is based on https://phab.getgrist.com/D3069?vs=on&id=12445, and tests for double-evaluation of trigger formulas are taken from there. Add a new test case to protect against bugs caused by incorrect order of evaluating #lookup columns. Enhanced ChoiceList browser test to check a conversion scenario in the presence of summary tables, previously triggering bugs. Test Plan: Various tests added or enhanced. Reviewers: alexmojaki Reviewed By: alexmojaki Subscribers: jarek Differential Revision: https://phab.getgrist.com/D3184 |
||
---|---|---|
.. | ||
AbstractWidget.js | ||
AttachmentsEditor.ts | ||
AttachmentsWidget.css | ||
AttachmentsWidget.ts | ||
BaseEditor.js | ||
CheckBox.css | ||
CheckBox.js | ||
CheckBoxEditor.js | ||
ChoiceEditor.js | ||
ChoiceListCell.ts | ||
ChoiceListEditor.ts | ||
ChoiceListEntry.ts | ||
ChoiceTextBox.ts | ||
ChoiceToken.ts | ||
CurrencyPicker.ts | ||
DateEditor.js | ||
DateTextBox.js | ||
DateTimeEditor.css | ||
DateTimeEditor.js | ||
DateTimeTextBox.js | ||
DiffBox.ts | ||
EditorButtons.ts | ||
EditorPlacement.ts | ||
EditorTooltip.ts | ||
ErrorDom.ts | ||
FieldBuilder.css | ||
FieldBuilder.ts | ||
FieldEditor.ts | ||
FormulaEditor.ts | ||
HyperLinkEditor.ts | ||
HyperLinkTextBox.ts | ||
NewAbstractWidget.ts | ||
NewBaseEditor.ts | ||
NTextBox.ts | ||
NTextEditor.ts | ||
NumericTextBox.ts | ||
Reference.css | ||
Reference.ts | ||
ReferenceEditor.ts | ||
ReferenceList.ts | ||
ReferenceListEditor.ts | ||
Spinner.css | ||
Spinner.ts | ||
Switch.css | ||
Switch.js | ||
TextBox.css | ||
TextEditor.css | ||
TextEditor.js | ||
TZAutocomplete.ts | ||
UserType.js | ||
UserTypeImpl.js |