Message of the day:
Security release 4.4.4 is out. Changelog: https://github.com/silverstripe/silverstripe-framework/blob/4/docs/en/04_Changelogs/4.4.4.md
SilverStripe 4 related information and questions.
The answer is, you shouldn't need to
this will basically ensure that we will NEVER has a draft File in the database.
well, I guess the question is basically: can you publish an object onAfterWrite
Can you provide some actual examples? It's all a bit theoretical at the moment. It ought to work
e.g. HTMLEdtitorField in combination with a publishing tool
well, the client complaints that in some cases she still has to publish files
Why can't it be done?
- private static $has_one = [
- 'SomeFile' => File::class
- private static $owns = [
thank you all, but it can't be done