-
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 #3622 X-original-commit: 0ed2720 Signed-off-by: Rémi Rahir (rar) <[email protected]> Signed-off-by: Vincent Schippefilt (vsc) <[email protected]>
- Loading branch information
1 parent
b157972
commit b2452e3
Showing
4 changed files
with
80 additions
and
8 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,52 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Model export formula with unbound zone stays unbound 1`] = ` | ||
{ | ||
"borders": {}, | ||
"entities": {}, | ||
"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": [], | ||
"figures": [], | ||
"filterTables": [], | ||
"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