You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cds-feature-attachments interferes with Draft Deletion, causing Element 'prices' not found error. #675
In my CAP Spring Boot application, I am using cds-feature-attachments with Draft Mode enabled on several entities.
Steps to Reproduce
Create a draft for a primary entity.
Add a draft entry for the prices composition.
Delete the entry.
Observe the application log.
Element 'prices' of entity 'ProductPrices_drafts' not found (service 'ProductCatalogService', event 'DRAFT_CANCEL', entity 'ProductCatalogService.ProductPrices')
Activity
lisajulia commentedon Nov 12, 2025
Hello @AamenYousri-AllForOne, thanks for reporting this!
I believe this might be the same error as #526 and thus be fixed by #669.
AamenYousri-AllForOne commentedon Nov 12, 2025
Hello @lisajulia,
Thank you so much. Once the issue is fixed, should I just use the latest version of the dependency?
lisajulia commentedon Nov 17, 2025
Hello @AamenYousri-AllForOne,
yes, can you test with the current version, 1.2.2 (https://central.sonatype.com/artifact/com.sap.cds/cds-feature-attachments).
Thanks!
AamenYousri-AllForOne commentedon Nov 18, 2025
Hello @lisajulia,
It works now, thank you so much :)