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

Bug Reports


Reply

297 Posts   49630 Views

Avatar
Martijn

30 August 2009 at 3:11am (Last edited: 30 August 2009 3:12am), Community Member, 271 Posts

When changing the Gallery name the Folder Title always stays NewImageGalleryPage, so when people browse images from the TinyMCE image button, they see x times NewImageGalleryPage.

Fix :

ImageGalleryPage.php

add:

function onBeforeWrite() {
      parent::onBeforeWrite();
      if( $this->ID )
         $this->RootFolder()->Title = $this->Title;
// or $this->MenuTitle?      
   }

Avatar
UncleCheese

1 September 2009 at 6:24am 4085 Posts

Is there a specific block of code you're referring to?

Avatar
UncleCheese

1 September 2009 at 7:38am 4085 Posts

All that code is lifted from HasManyComplexTableField, actually. Probably ought to submit that bug to them, too. Thanks.

Avatar
Willr

1 September 2009 at 5:16pm Forum Moderator, 5511 Posts

Yes notices to do with 5.3 have been fixed in 2.3.3 and trunk. The actual root cause of these notices will be fixed in 2.4 etc but they might be too intense to get into 2.3 so hence we just hide the notices.

Avatar
UncleCheese

6 September 2009 at 9:46am 4085 Posts

I've checked in a version of these files using is_object instead of get_class.

Avatar
UncleCheese

6 September 2009 at 9:47am 4085 Posts

The ImageGallery RootFolder title fix is in.

Avatar
martimiz

8 September 2009 at 11:11pm Forum Moderator, 1091 Posts

@silk78

>> I found an entry in apache error-log, though:

>> File does not exist: /srv/rsv-kanu_neu/bulk_uploader

Don't know if you found out how to get reid of this log-entry yet. The only reference I found: in dataobject_manager/javascript/facebox.js - line 100: replace

<img src="/bulk_uploader/images/closelabel.gif" title="close" class="close_image" /> \

by

<img src="/dataobject_manager/images/closelabel.gif" title="close" class="close_image" /> \

cheers

Avatar
UncleCheese

9 September 2009 at 2:02am (Last edited: 9 September 2009 2:03am), 4085 Posts

My lord.. The bulk_uploader module hasn't existed in many, many months. No idea why that was in there.