Mo

also took @firesphere's advice and scaffolded my groups/permissions as per silverstripe-framework

Mo

AH HA, finally got it all sorted, I forgot I changed an association and the test was not up to date

Mo

Grr, now I am getting a parse error from my fixtures file...

Mo

taking it out changes the error to a more expected one

Mo

But this was working without problem this week

Mo

@robbieaverill I am calling SilverStripe\Security\Group::requireDefaultRecords() before parent::setup()

robbieaverill

are you calling parent::setUp() etc? that's often what causes that error

Mo

I will have to do some more digging tomorrow...

Mo

Hmm, cheers @nightjarnz for the info. I did check the setup/teardown methods and couldn't see anything odd. The only thing I can think is it is something I have changed in some middleware this project has or possibly I have something in an onBeforeInit somewhere.