Jump to:

10994 Posts in 2728 Topics by 1819 members

All other Modules

SilverStripe Forums » All other Modules » obscure bug - hasmanyfilemanager / file decorator / getMyCMSFields

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 822 Views
  • geyer
    Avatar
    Community Member
    5 Posts

    obscure bug - hasmanyfilemanager / file decorator / getMyCMSFields Link to this post

    Hi guys,

    We recently ran into a small bug with the DataObjectDecorator while working with the hasmanyfilemanager. We were extending the core File object to contain a few extra fields.. but for some reason the function getMyCMSFields in the decorator was not getting called in the CMS..

    We found that renaming our project folder from [whatever] back to "mysite" solved the problem.

    i.e. from [silverstripe root]/[whatever] to [silverstripe root]/mysite

    Any ideas as to what causes this problem?

    822 Views
Page: 1
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.