Ticket #2484 (new defect)

Opened 2 months ago

Last modified 2 months ago

Image problem in File store

Reported by: mandrew Assigned to: mpeel
Type: defect Priority: medium
Milestone: Component: CMS - General
Version: 2.2.2-rc3 Severity: medium effort / impact
Keywords: Cc:
Due date: Harvest Task: (Unknown)
Invoice sent to client: 0 Hours:

Description

I'm getting this error Fatal error: Class name must be a valid object or a string in /sites/dev.silverstripe.com/mandrew/seasmoke/sapphire/core/model/DataObject.php on line 1544

Whatever is calling buildDataObjectSet() isn't passing $baseClass.

I was inside an image field and clicked on 'From the file store' and the error appeared.

I first thought it was related to a blank ClassName? in the File table (as it usually is..) but this isn't so this time. Maybe also a better error for this failure for debugging purposes would be good!

Attachments

Change History

Changed 2 months ago by sminnee

Can you get hold of a call stack to go with the error?

Note: See TracTickets for help on using tickets.