-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Support capturing the Object ID and the value when there is a ne…
…sted duplicated association name. (#58) 1. fix the issue that no value is returned for 'parent.parent.x' when building hierachical entities with CAP compositions. 2. when the app creates both parent and child nodes, the parent node does not exist in the data table, so the corresponding data needs to be obtained from the draft table. 3. when updating a parent node and deleting a child node, the corresponding node will disappear from the draft table. Therefore, it is necessary to get the data from the data table. This PR includes fixes for all three of these situations. --------- Co-authored-by: I560824 <[email protected]>
- Loading branch information
1 parent
a9d5671
commit 5b9b458
Showing
22 changed files
with
773 additions
and
41 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
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,4 @@ | ||
ID;name;info_ID | ||
bc21e0d9-a313-4f52-8336-c1be5f88c346;Mission1;bc21e0d9-a313-4f52-8336-c3da5f66d537 | ||
bc21e0d9-a313-4f52-8336-c1be5f55d137;Mission2;bc21e0d9-a313-4f52-8336-d4ad6c55d563 | ||
bc21e0d9-a313-4f52-8336-c1be5f44f435;Mission3;bc21e0d9-a313-4f52-8336-b5fa4d22a123 |
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,4 @@ | ||
ID;name | ||
bc21e0d9-a313-4f52-8336-a4eb6d55c137;Super Mario1 | ||
bc21e0d9-a313-4f52-8336-a2dcec6d33f541;Super Mario2 | ||
bc21e0d9-a313-4f52-8336-d3da5a66c153;Super Mario3 |
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,4 @@ | ||
ID;name;info_ID | ||
bc21e0d9-a313-4f52-8336-c3da5f66d537;Track1;bc21e0d9-a313-4f52-8336-a4eb6d55c137 | ||
c21e0d9-a313-4f52-8336-d4ad6c55d563;Track2;bc21e0d9-a313-4f52-8336-a2dcec6d33f541 | ||
bc21e0d9-a313-4f52-8336-b5fa4d22a123;Track3;bc21e0d9-a313-4f52-8336-d3da5a66c153 |
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,6 @@ | ||
ID;title;parent_ID | ||
9d703c23-54a8-4eff-81c1-cdce6b8376b1;Level1 Wuthering Heights;64625905-c234-4d0d-9bc1-283ee8940812 | ||
676059d4-8851-47f1-b558-3bdc461bf7d5;Level1 Jane Eyre;5ab2a87b-3a56-4d97-a697-7af72334b123 | ||
42bc7997-f6ce-4ae9-8a64-ee5e02ef1087;Level1 The Raven;5ab2a87b-3a56-4d97-a697-7af72334b213 | ||
9297e4ea-396e-47a4-8815-cd4622dea8b1;Level1 Eleonora;8aaed432-8336-4b0d-be7e-3ef1ce7f14dc | ||
574c8add-0ee3-4175-ab62-ca09a92c723c;Level1 Catweazle;8aaed432-8336-4b0d-be7e-3ef1ce7f14dc |
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,3 @@ | ||
ID;title;parent_ID | ||
9a61178f-bfb3-4c17-8d17-c6b4a63e0802;Level1Object title1;0a41a187-a2ff-4df6-bd12-fae8996e7e28 | ||
ae0d8b10-84cf-4777-a489-a198d1717c75;Level1Object title2;6ac4afbf-deda-45ae-88e6-2883157cd576 |
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,2 @@ | ||
ID;title;parent_ID | ||
dd1fdd7d-da2a-4600-940b-0baf2946c4ff;Level2 The title;9d703c23-54a8-4eff-81c1-cdce6b8376b1 |
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,3 @@ | ||
ID;title;parent_ID | ||
a40a9fd8-573d-4f41-1111-fa8ea0d8b1bc;Level2Object title1;9a61178f-bfb3-4c17-8d17-c6b4a63e0802 | ||
55bb60e4-ed86-46e6-9378-346153eba8d4;Level2Object title2;ae0d8b10-84cf-4777-a489-a198d1717c75 |
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,2 @@ | ||
ID;title;parent_ID | ||
dd1fdd7d-da2a-4600-940b-1cdd2946c4ff;Level3 The Hope;dd1fdd7d-da2a-4600-940b-0baf2946c4ff |
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,2 @@ | ||
ID;title;parent_ID | ||
a40a9fd8-573d-4f41-1111-fb8ea0d8c5cc;Level3Object title;a40a9fd8-573d-4f41-1111-fa8ea0d8b1bc |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ID;status; | ||
6b75449a-d44f-11ed-afa1-0242ac120001;Ordered; | ||
8567d0de-d44f-11ed-afa1-0242ac120001;Shipped; | ||
6b75449a-d44f-11ed-afa1-0242ac120002;Ordered; | ||
8567d0de-d44f-11ed-afa1-0242ac120002;Shipped; | ||
ID;status | ||
6b75449a-d44f-11ed-afa1-0242ac120001;Ordered | ||
8567d0de-d44f-11ed-afa1-0242ac120001;Shipped | ||
6b75449a-d44f-11ed-afa1-0242ac120002;Ordered | ||
8567d0de-d44f-11ed-afa1-0242ac120002;Shipped |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
ID;quantity;price;order_ID;customer_ID; | ||
ID;quantity;price;order_ID;customer_ID | ||
9a61178f-bfb3-4c17-8d17-c6b4a63e0097;10.0;5.0;0a41a187-a2ff-4df6-bd12-fae8996e6e31;47f97f40-4f41-488a-b10b-a5725e762d57 | ||
ae0d8b10-84cf-4777-a489-a198d1716b61;11.0;6.0;0a41a187-a2ff-4df6-bd12-fae8996e6e31;47f97f40-4f41-488a-b10b-a5725e762d57 | ||
ae0d8b10-84cf-4777-a489-a198d1716b61;11.0;6.0;0a41a187-a2ff-4df6-bd12-fae8996e6e31;47f97f40-4f41-488a-b10b-a5725e762d57 |
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,4 @@ | ||
ID;name;lifecycleStatus_code;info_ID | ||
64625905-c234-4d0d-9bc1-283ee8940812;Wuthering Heights;IP;bc21e0d9-a313-4f52-8336-c1be5f88c346 | ||
5ab2a87b-3a56-4d97-a697-7af72334b123;Jane Eyre;CL;bc21e0d9-a313-4f52-8336-c1be5f55d137 | ||
8aaed432-8336-4b0d-be7e-3ef1ce7f14dc;The Raven;AC;bc21e0d9-a313-4f52-8336-c1be5f44f435 |
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,3 @@ | ||
ID;title | ||
0a41a187-a2ff-4df6-bd12-fae8996e7e28;RootObject title1 | ||
6ac4afbf-deda-45ae-88e6-2883157cd576;RootObject title2 |
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
Oops, something went wrong.