Jump to:

7938 Posts in 1541 Topics by 945 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Bug Reports

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
Go to End
Author Topic: 48649 Views
  • Martijn
    Avatar
    Community Member
    271 Posts

    Re: Bug Reports Link to this post

    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?      
       }

  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

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

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: Bug Reports Link to this post

    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.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

    The ImageGallery RootFolder title fix is in.

  • martimiz
    Avatar
    Forum Moderator
    1078 Posts

    Re: Bug Reports Link to this post

    @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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

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

    48649 Views
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.