Skip to content

Commit 161fdb8

Browse files
fiori: add warning to protect partial updates (#2641)
Co-authored-by: René Jeglinsky <rene.jeglinsky@sap.com>
1 parent e594510 commit 161fdb8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

guides/uis/fiori.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,9 @@ While this was always possible in CAP Java before, it's available for CAP Node.j
359359
> Directly updating an active entity does **not** bypass [draft locks](#draft-locks).
360360
> If an existing draft locks the entity, direct updates are blocked to prevent lost update situations.
361361
362+
> [!warning] Ensure validation for all entry points
363+
> Requests to active data also features partial CREATE/UPDATE requests to the root entity and its composition children. Ensure that the validations and determinations are run in all situations, not only on the root.
364+
362365
#### Draft-agnostic Requests
363366

364367
Taking this further, through <Config>cds.fiori.draft_new_action: true</Config> `IsActiveEntity=true` is assumed by default, so clients that are unaware of drafts or don't need to handle them can ignore all draft-specific requests and parameters:

0 commit comments

Comments
 (0)