silverstripe/sapphire — pull request #96 by slindqvist (2011-10-30 22:27:01+00:00)
Title: BUGFIX Versioned returns error on singleton($className)->summaryFields()

This solves a bugfix when calling singleton($className)->summaryFields() and Versioned kicks back. It is needed to by the GridField functionality to get default columns to show.

This is due to DataExtension calls ClassName::extraStatics() when calling ::load_extra_statics() statically, we need to pass in class and extension.