Closed lekoala closed 11 months ago
@michalkleiner any other wishes for this PR ?
Arguably this is an enhancement and shouldn't be targeting CMS 4 - but given the very low risk of regression it's probably fine. I have no problem with this change, feel free to merge
@GuySartorelli do you also apply this to the ss5 version or do i need to make a pr for that as well?
@lekoala it'll get merged up, eventually. We're working on getting merge ups to be automated but for now they're just done ad hoc. If you need this immediately let me know and I'll make a point to do merge ups sooner rather than later.
@GuySartorelli i'm in the upgrade process to ss5 for my main client and that should go to production at the end of the summer, so if it's in a month or so that works for me :-)
setByIDList will make a query even though there are no DBHTMLText for this DataObject
Checking the presence of these fields allow to return early and prevent the needless query
Fixes https://github.com/silverstripe/silverstripe-assets/issues/557