Due to the order in onBeforeWrite, the BlogProfileImage added in BlogMemberExtension doesn't get automatically published unless you have also changed the member's name (unlikely).
Is there a reason that $owns isn't used to ensure the image gets published here?
How to reproduce
Create a new user in Security.
Click Create
Upload a new "Blog profile image" for the user.
Click Save
What I expect to happen: The image gets published.
What actually happens: The image stays as "Draft".
Possible Solution
No response
Additional Context
No response
Validations
[X] Check that there isn't already an issue that reports the same bug
[X] Double check that your reproduction steps work in a fresh installation of silverstripe/installer (with any code examples you've provided)
Module version(s) affected
4.1.2
Description
Due to the order in
onBeforeWrite
, theBlogProfileImage
added inBlogMemberExtension
doesn't get automatically published unless you have also changed the member's name (unlikely).Is there a reason that
$owns
isn't used to ensure the image gets published here?How to reproduce
What I expect to happen: The image gets published. What actually happens: The image stays as "Draft".
Possible Solution
No response
Additional Context
No response
Validations
silverstripe/installer
(with any code examples you've provided)PRs
750