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

ImageDataObjectManager multiple image upload issue


Go to End


8 Posts   2007 Views

Avatar
vstrazz

Community Member, 63 Posts

19 August 2009 at 12:21am

Hey guys,

I'm not sure if this is a bug, or if it's been covered ( I searched :p ), but when I upload more than one image in an ImageDataObjectManager the first one shows the preview of the image and the title field. If I click next ( save ) to go to the next image, the next frame contains two preview images and if I continue to hit next it will actually show more images than I initially uploaded.

For instance, it will go up to file 5 of 3. I've used many DOM's and this seems to only occur in ImageDataObjectManager when uploading multiple images at once.

Has anyone else had this issue?

Avatar
UncleCheese

Forum Moderator, 4102 Posts

19 August 2009 at 1:24am

That's a very old bug. When did you last update?

Avatar
vstrazz

Community Member, 63 Posts

19 August 2009 at 1:26am

Edited: 19/08/2009 1:30am

I last updated, right after Audio / Video was added. I will download the newest. Thanks UncleCheese.

//Edit:

This is a seperate module, jeez.. no wonder there is a bug.. This never occurred to me before, but I guess I have one of the first build's released.

Avatar
vstrazz

Community Member, 63 Posts

19 August 2009 at 1:41am

I updated to the most recent trunk release of image_gallery and the issue is still present. Do I need to update the DOM as well?

Avatar
UncleCheese

Forum Moderator, 4102 Posts

19 August 2009 at 3:09am

Yeah, the bug was in DOM.

Avatar
vstrazz

Community Member, 63 Posts

19 August 2009 at 4:41am

After uploading dataobject_manager ( latest trunk ) and a db/build?flush=1 I get this weird error.

[User Error] Object::__call() Method 'get_static' not found in class 'ImageGalleryManager'

GET /admin

Line 133 in /var/www/vhosts/encompasswebsystems.com/subdomains/design4/httpdocs/sapphire/core/Object.php

Any Ideas?

Avatar
UncleCheese

Forum Moderator, 4102 Posts

19 August 2009 at 5:16am

Are you on 2.3.2+?

Avatar
vstrazz

Community Member, 63 Posts

19 August 2009 at 5:17am

Yes sir.