Skip to content

Commit 8f945c1

Browse files
MattSchurbeckermarcrenejeglinsky
authored
Java: Draft Bypassing (#2184)
Added warning about bypassing draft updates for entities. --------- Co-authored-by: Marc Becker <[email protected]> Co-authored-by: René Jeglinsky <[email protected]>
1 parent d2ed1d6 commit 8f945c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

java/fiori-drafts.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ It's possible to create and update data directly without creating intermediate d
144144

145145
These events have the same semantics as described in section [Handling CRUD events](./cqn-services/application-services#crudevents).
146146

147+
::: warning
148+
Directly updating the active entity does **not** bypass the [Draft Lock](#draft-lock). If an existing draft locks the active entity, the system blocks any attempt to update it. This ensures that the system does not lose changes to the active entity when you subsequently activate a draft.
149+
:::
150+
147151
## Draft Lock { #draft-lock }
148152

149153
An entity with a draft is locked from being edited by other users until either the draft is saved or a timeout is hit (15 minutes by default). You can configure this timeout by the following application configuration property:

0 commit comments

Comments
 (0)