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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Bug Reports


Go to End


297 Posts   102002 Views

Avatar
UncleCheese

Forum Moderator, 4102 Posts

21 July 2009 at 6:53am

Aram,

First, make sure you're on the latest DOM revision, because I remember fixing a bug related to this a few weeks ago, but I can't say whether it was exactly this, because AFAIK this has always worked.

Make sure your custom getter is in the format get{FieldName}. That seems to be the error in your code. My guess is that getThumbnail() will return the intended effect. Does for me, anyway.

Avatar
MarcusDalgren

Community Member, 288 Posts

22 July 2009 at 1:09pm

Posting here too as requested.

The DataObjectManager ignores the inital sort order set through the object constructor when you switch from one page to another. The first page shows up sorted in that order but when you go to the next page the DataObjectManager seems to switch back to the default sort order.

Kindly, Marcus

Avatar
MarcusDalgren

Community Member, 288 Posts

23 July 2009 at 11:20am

Please switch DataObjectManager to jquery UI 1.7 if at all possible. It doesn't seem to cause any problems and for poor bastards like myself who use Datepicker field in other parts of the site, jquery UI 1.5.3 messes it all up.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

24 July 2009 at 1:12am

Didn't realize it was that far along. Can you just confirm that you have made this change and nothing breaks? It will save me the time of testing it.

Avatar
Carbon Crayon

Community Member, 598 Posts

24 July 2009 at 1:25am

@uncleCheese - Thanks for that is was indeed the missing 'get' infront of the function name. It seems strange that only the ManyManyDOM needs to have the 'get' in front, while the regular DOM and all of the CTF's function fine simply using the same function name as the column call. Any idea why that would be (out of interest!)?

Anyway Thanks again.

Avatar
MarcusDalgren

Community Member, 288 Posts

24 July 2009 at 12:45pm

Edited: 24/07/2009 12:47pm

Hmm it seems like the search function is broken :(. I always get all the results back no matter what I type in the search field. Is this part of the DataObjectManager related to jQuery UI in some way?

If it's not then something else is wrong.

This is the request string that's being sent

http://www.dragster.se/ssRTI/admin/EditForm/field/Countries?ctf[Countries][per_page]=10&ctf[Countries][showall]=0&ctf[Countries][sort]=Created&ctf[Countries][sort_dir]=DESC&ctf[Countries][search]=s&ctf[Countries][filter]=

Kindly,
Marcus

Avatar
UncleCheese

Forum Moderator, 4102 Posts

24 July 2009 at 6:38pm

In that request, you've done a search for "s", so if all your records have an "s" in them, then that's what you'll get. The search updates as you type, so if you type an entire word it will start filtering down.

Avatar
Howard

Community Member, 215 Posts

27 July 2009 at 5:52pm

Hello :)

I've got a bit of an annoying bug and I would be interested to know if it is just me, I use the VideoPopup without any modifications but when the user clicks on the thumbnail the popup expands and the audio begins to play but the video just displays the white play icon in the centre, clicking on the play icon starts the video and audio from the start.

Maybe related to this is that the bar at the bottom doesn't display the total time of the video, the incrementing time as it plays and the progress bar doesn't fill up as the video downloads or plays.

I don't know two hoots about flash so unsure where to start debugging but happy to provide more info if required.

Using FF3.5.1 and Safari4 on 10.5.7

Thanks