Jump to:

7921 Posts in 1359 Topics by 933 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Bug Reports

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., 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: 38525 Views
  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

    This was fixed several revs ago. Are you sure you're on the latest version?

    Make sure line 31 of your ImageGalleryImage.php is:

       function BackLinkTracking() {return false;}

    it it's not, you're on an older version.

  • ss23
    Avatar
    Community Member
    5 Posts

    Re: Bug Reports Link to this post

    Line 31 is indeed function BackLinkTracking() {return false;}.

    I'm on the latest revision too, unless my SVN is doing something VERY wrong :/.

    Is there anything else that could cause this problem?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

    I believe this may happen if your database and filesystem are out of sync. That is, your database is returning records of files that aren't there. You can sync them up by just clicking on the Files & Images tab, and then going back to Site Content.

    I made some changes to image gallery today. Run an SVN update and let me know if you still have issues. Make sure you test on the demo site, as well, since that is always the latest version of the code.

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Bug Reports Link to this post

    I'm using a DatePickerField inside a DOM popup, the Calendar opens, but when I click on a date, I get the following error in my console:


    jQuery.datepicker is undefined

    ... and no date is being written to the input-field.

    DOM Revision 287
    This occurs on Safari 4 and Firefox 3.5 on Mac. Didn't test other browsers.

    I'm quite sure this worked in older versions..

  • ss23
    Avatar
    Community Member
    5 Posts

    Re: Bug Reports Link to this post

    That didn't seem to fix the problem UncleCheese. Perhaps you would like some credentials to check for yourself? In anycase, I'm about to pm them to you now.
    It's all updated to the latest SVN of your modules too.

    Edit: It would seem I can't find a PM function :/. So submitted to http://www.carlinowebdesign.com/contact/ instead ;)

  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

    The BackLinkTracking() bug has finally been solved (I think) in the latest rev. See:

    http://www.silverstripe.org/dataobjectmanager-module-forum/show/269282?start=24

    Banal, these Javascript collisions have been the bane of my existence lately. You get things stable in CMSMain, and then the popup blows up, you fix the popup, then the CMS breaks. Ugh.

    I did some work on it this morning, though. One of the issues we're seeing is that the strange requirement to use BaseHref() before the file paths has caused Silverstripe to fail to view calls to the same file as unique. One class calls "jquery/somefile.js" and the other calls BaseHref()."jquery/somefile.js" and they both come in, causing a collision. In this case, livequery and jquery.js were butting heads.

    Try an update and let me know? I got mine running okay.

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Bug Reports Link to this post

    Hey UncleCheese

    The latest rev. 291 resolves the JavaScript issue. Thanks a lot for the fast bugfix.
    I feel your pain regarding these JavaScript problems... it's a huge mess as of now. The changes made by Ingo will hopefully improve things. AFAIK they are on the roadmap for 2.4.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

    Yup. Counting the days.

    38525 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.