Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

File database table has no SortOrder field


Reply

12 Posts   2916 Views

Avatar
UncleCheese

17 January 2010 at 3:24pm 4085 Posts

Hi, Guys,

I've confirmed the bug. Not sure what's wrong at this point, but it looks like SortableDataObject is out of order on 2.3.4 when running the latest DOM.

Avatar
UncleCheese

17 January 2010 at 4:46pm 4085 Posts

The problem lies in a 2.3.4 update to Object::uninherited_static() method. I'm a little puzzled why Silverstripe changed it they way they did. I'm going to put in a support request and see if we can get some answers. Thanks for your patience.

Avatar
Patrick Arlt

17 January 2010 at 5:51pm Community Member, 15 Posts

In the meantime you can add SortOrder to the File table manually to get things working.

Avatar
UncleCheese

17 January 2010 at 6:15pm 4085 Posts

Right, but if you have any other sortable dataobjects, they're all broken. It's not just isolated to the File object. :(