Commit 2dfca6a
authored
Update group URI to Logical URI coming from the Server (#5702)
In the Server it is allowed to open a group by providing its URI in
AST_ID format. This causes problems for relative URIs, because Core has
some existing logic to concatenate the group name with its relative
members URI, in order to present nice and absolute member URIs to the
users instead of relative ones. However, concatenating AST_IDs with
member paths results in invalid asset URIs, as you can't append a path
to an ID.
To avoid this, we could either resort to just always return the member
URI as is, without concatenating it: this would make sense but would
break existing user scripts and expectations across backends. Or to ask
the Server to update the group URI to a logical one in Array open so
that concatenation always produces valid path URIs. This PR is aiming to
do the second.
part of CLOUD-2737
---
TYPE: BUG
DESC: Update group URI to Logical URI coming from the Server1 parent 49c1000 commit 2dfca6a
File tree
8 files changed
+212
-116
lines changed- tiledb/sm
- group
- serialization
8 files changed
+212
-116
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
320 | 326 | | |
321 | 327 | | |
322 | 328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
426 | 433 | | |
427 | 434 | | |
428 | 435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
260 | 261 | | |
261 | 262 | | |
262 | 263 | | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
263 | 269 | | |
264 | 270 | | |
265 | 271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
187 | 190 | | |
188 | 191 | | |
189 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
187 | 192 | | |
188 | 193 | | |
189 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
996 | 996 | | |
997 | 997 | | |
998 | 998 | | |
| 999 | + | |
| 1000 | + | |
999 | 1001 | | |
1000 | 1002 | | |
1001 | 1003 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1387 | 1387 | | |
1388 | 1388 | | |
1389 | 1389 | | |
1390 | | - | |
| 1390 | + | |
1391 | 1391 | | |
1392 | 1392 | | |
1393 | 1393 | | |
| |||
12205 | 12205 | | |
12206 | 12206 | | |
12207 | 12207 | | |
| 12208 | + | |
| 12209 | + | |
| 12210 | + | |
12208 | 12211 | | |
12209 | 12212 | | |
12210 | 12213 | | |
| |||
12277 | 12280 | | |
12278 | 12281 | | |
12279 | 12282 | | |
| 12283 | + | |
| 12284 | + | |
| 12285 | + | |
| 12286 | + | |
| 12287 | + | |
| 12288 | + | |
| 12289 | + | |
12280 | 12290 | | |
12281 | 12291 | | |
12282 | 12292 | | |
| |||
29915 | 29925 | | |
29916 | 29926 | | |
29917 | 29927 | | |
| 29928 | + | |
| 29929 | + | |
| 29930 | + | |
| 29931 | + | |
| 29932 | + | |
| 29933 | + | |
| 29934 | + | |
| 29935 | + | |
| 29936 | + | |
| 29937 | + | |
| 29938 | + | |
| 29939 | + | |
| 29940 | + | |
| 29941 | + | |
| 29942 | + | |
| 29943 | + | |
| 29944 | + | |
| 29945 | + | |
| 29946 | + | |
| 29947 | + | |
| 29948 | + | |
| 29949 | + | |
| 29950 | + | |
| 29951 | + | |
| 29952 | + | |
| 29953 | + | |
| 29954 | + | |
| 29955 | + | |
| 29956 | + | |
| 29957 | + | |
| 29958 | + | |
| 29959 | + | |
| 29960 | + | |
| 29961 | + | |
| 29962 | + | |
| 29963 | + | |
| 29964 | + | |
| 29965 | + | |
| 29966 | + | |
| 29967 | + | |
| 29968 | + | |
29918 | 29969 | | |
29919 | 29970 | | |
29920 | 29971 | | |
| |||
0 commit comments