kinglozzer

Part of the problem is that SS3/SS4 will load all records as DataObjects the moment the query runs, so if you have 2000 pages that means it’ll load 2000 DataObject objects into memory at once

fuzz10

Thanks !  Tried that as well , but nope. Same result 'with chunking' ...

kinglozzer

How many passes should I let composer run before I give up?

Files: Requires logging in with Slack to view/download
Screenshot 2020-05-26 at 15.33.15.png
kinglozzer
Files: Requires logging in with Slack to view/download
ChangePasswordPageController.php
kinglozzer

Okay, I have an SS4 example that looks a little more complicated than I’ve implied there… sec

kinglozzer

Is there a “right way”? 😄 IIRC, just a method which returns ChangePasswordForm::create(...

kinglozzer

@guy_van_bael It’s not really your fault, there is a bug causing it too, but setting SS_BASE_URL prevents the buggy code running 😄

kinglozzer

I think it is a bug in SilverStripe, I just tested on our client’s cPanel and it has the same issue with a page I named publictest 🤦