Commit 6f58f98
committed
MB-68819 - problem copying non-objects as TSV
The "Copy as TSV" button in Morpheus works fine when the result
contains JSON objects, but it doesn't work correctly when the result
contains JSON primitive values such as strings. This change enhances
the TSV code to handle cases where a document might be a primitive
instead of an object
For a demonstration of the problem and fix, see this video:
https://drive.google.com/file/d/11iVTMfdKSdHGIQ7wDemm-ecnSMJJowlm/view?usp=share_link
For information on how to set up the data, see this video:
https: //drive.google.com/file/d/14feLMyZG-X0pw0ueLdQRC7Y3hm32vh6i/view?usp=share_link
Change-Id: I795d225fece68018838a91f7a0aa437cf45f807d
Reviewed-on: https://review.couchbase.org/c/query-ui/+/240098
Well-Formed: Restriction Checker
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Raluca Lupu <raluca.lupu@couchbase.com>1 parent c2ae260 commit 6f58f98
1 file changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
| |||
121 | 125 | | |
122 | 126 | | |
123 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
124 | 134 | | |
125 | 135 | | |
126 | 136 | | |
| |||
165 | 175 | | |
166 | 176 | | |
167 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
168 | 183 | | |
169 | 184 | | |
170 | 185 | | |
| |||
0 commit comments