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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

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

obscure bug - hasmanyfilemanager / file decorator / getMyCMSFields

Go to End



Community Member, 5 Posts

12 March 2009 at 9:32am

Edited: 12/03/2009 9:34am

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?