My “custom” removeAction does the following
eventCardsDc.getMutableItems().remove(ec);
dataContext.remove(ec);
dataContext.commit();
To remove in-place. However I get EntityValidatonFailed exception for @Future validator set to a field of ec.
Also, If user’s tryng to modify item with @Future , they are not able to save it without “updating the field to be IN FUTURE RELATIVELY TO THE TIME OF EDITING”
How to make @Future act only on creation, not on update of Entity and why it’s checked on remove?
hmm or should I just catch exception on delete?
But the GUI anyway doesn’t even dispaly value of a field annotated with @Future when entity with such field is edited after creation (it’s not in Future anymore during edition, but is in the past) 