Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to deal with virtual fields for Fiori draft v4 #58

Closed
wattnu opened this issue Apr 20, 2020 · 5 comments
Closed

How to deal with virtual fields for Fiori draft v4 #58

wattnu opened this issue Apr 20, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@wattnu
Copy link

wattnu commented Apr 20, 2020

Hi Community/CAP team,
It seems, I've found an issue with virtual fields in draft mode. I've reported this in https://answers.sap.com/questions/13019552/how-to-deal-with-virtual-fields-for-fiori-draft-v4.html, but got no response so far.
Maybe someone can have a look?
Thanks
Klaus

@wattnu
Copy link
Author

wattnu commented Apr 30, 2020

@wattnu wattnu closed this as completed Apr 30, 2020
@gregorwolf gregorwolf added the enhancement New feature or request label Apr 30, 2020
@gregorwolf
Copy link
Contributor

Let's keep it open and link this issue from the SAP Community Q&A.

@gregorwolf gregorwolf reopened this Apr 30, 2020
@sjvans
Copy link

sjvans commented Nov 27, 2020

hi @gregorwolf

i just stumbled across this. should be resolved in cds^4, as virtual elements are filtered on db level.

best,
sebastian

@invokers-gdo
Copy link

This issue seems to have returned since @sap/cds > 5.4.0. I have tested 5.4.0 and 5.4.3 and both cause a problem when trying to save/activate a draft entity with virtual/readonly fields using SQLite local testing. @sap/cds 5.3.0 is working fine.

@sjvans
Copy link

sjvans commented Sep 14, 2021

With cds^5.4, computed values are preserved during draft activate. See https://cap.cloud.sap/docs/releases/aug21#changes-in-node-js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants