The serviceEntity is not captured in the ChangeLog table in some cases.
When modeling an inline entity, the keys attribute in the Changes table recorded the unexpected association and parent ID.
When reqData is undefined, special handling is required.
When running test cases in CDS 8, the request failed with a status code of 404.
In CDS 8, for auto-exposed Compositions, all direct CRUD requests are rejected in non-draft cases. When executing test cases, an error with the message ENTITY_IS_AUTOEXPOSED occurs because the ChangeView falls under the aforementioned circumstances.
In CDS 8, CAP does not support queries for draft-enabled entities on the application service. When running test cases, the related test cases failed and contained the error message: SqliteError: NOT NULL constraint failed: AdminService_Books_drafts.DraftAdministrativeData_DraftUUID.
In CDS 8, the cds.transaction will be deprecated and needs to be replaced with req.event.
req._params and req.context are not official APIs and need to be replaced with official properties to ensure code stability.
Optimize:
Implement a method to analyze entities, determine their structure, add a flag to indicate whether it is a root entity, and when the entity is a child entity, record information about its parent entity.
Fix:
serviceEntity
is not captured in theChangeLog
table in some cases.inline entity
, the keys attribute in theChanges
table recorded the unexpected association and parent ID.ENTITY_IS_AUTOEXPOSED
occurs because the ChangeView falls under the aforementioned circumstances.SqliteError: NOT NULL constraint failed: AdminService_Books_drafts.DraftAdministrativeData_DraftUUID
.cds.transaction
will be deprecated and needs to be replaced withreq.event
.req._params
andreq.context
are not official APIs and need to be replaced with official properties to ensure code stability.Optimize: