-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] export: unbound formula stays unbound in snapshots
In the PR #3364 I try to fix the export to excel of unbound zones by fixing them. However I have not taken into account the normal expor in spreadsheet that is done when generating snapshot. This fix keeps the unbound zones in snapshots, while convert them into bound zones in excel export. closes #3626 X-original-commit: aed5b96 Signed-off-by: Rémi Rahir (rar) <[email protected]> Signed-off-by: Vincent Schippefilt (vsc) <[email protected]>
- Loading branch information
1 parent
c22e2e2
commit 8b0d079
Showing
4 changed files
with
79 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Model export formula with unbound zone stays unbound 1`] = ` | ||
{ | ||
"borders": {}, | ||
"formats": {}, | ||
"revisionId": "START_REVISION", | ||
"settings": { | ||
"locale": { | ||
"code": "en_US", | ||
"dateFormat": "m/d/yyyy", | ||
"decimalSeparator": ".", | ||
"formulaArgSeparator": ",", | ||
"name": "English (US)", | ||
"thousandsSeparator": ",", | ||
"timeFormat": "hh:mm:ss a", | ||
}, | ||
}, | ||
"sheets": [ | ||
{ | ||
"areGridLinesVisible": true, | ||
"cells": { | ||
"A1": { | ||
"content": "=SUM(A3:3)", | ||
"format": undefined, | ||
"style": undefined, | ||
}, | ||
"A2": { | ||
"content": "=SUM(A3:A)", | ||
"format": undefined, | ||
"style": undefined, | ||
}, | ||
}, | ||
"colNumber": 26, | ||
"cols": {}, | ||
"conditionalFormats": [], | ||
"dataValidationRules": [], | ||
"figures": [], | ||
"filterTables": [], | ||
"headerGroups": { | ||
"COL": [], | ||
"ROW": [], | ||
}, | ||
"id": "Sheet1", | ||
"isVisible": true, | ||
"merges": [], | ||
"name": "Sheet1", | ||
"rowNumber": 100, | ||
"rows": {}, | ||
}, | ||
], | ||
"styles": {}, | ||
"uniqueFigureIds": true, | ||
"version": 14, | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters