Hi UncleCheese,
Is this true of SilverStripe 2.4.1 (running on a local MAMP installation for development) as well? I've installed the DataObjectManager, LegacyDateTimeFields and the EventCalendar but when I attempt to view a 'Calendar' page type in the CMS I get the following error with isDev enabled:
http://localhost:8888 meldet:ERROR [User Error]: collateDataFields() I noticed that a field called 'Priority' appears twice in your form: 'Form_EditForm'. One is a 'DropdownField' and the other is a 'DropdownField'
IN POST /ss241/admin/getitem?ID=5&ajax=1
Line 140 in /Applications/MAMP/htdocs/ss241/sapphire/forms/CompositeField.php
Source
======
131: if($saveableOnly) {
132: $isIncluded = ($field->hasData() && !$field->isReadonly() && !$field->isDisabled());
133: } else {
134: $isIncluded = ($field->hasData());
135: }
136: if($isIncluded) {
137: $name = $field->Name();
138: if($name) {
139: $formName = (isset($this->form)) ? $this->form->FormName() : '(unknown form)';
* 140: if(isset($list[$name])) user_error("collateDataFields() I noticed that a field called '$name'
appears twice in your form: '{$formName}'. One is a '{$field->class}' and the other is a
'{$list[$name]->class}'", E_USER_ERROR);
141: $list[$name] = $field;
142: }
143: }
144: }
145: }
146: }
<!-- I TRIMMED THE LONG TRACE STATEMENT DOWN TO THE PERTINENT CLASS -->
Form->loadDataFrom(Calendar)
line 493 of CMSMain.php
If it is, I'm a long way from being a Silverstripe expert but would like to use this module on a project that is semi time critical. If you could put me in the right direction to solve these errors maybe I could progress some of the updates?
My wild stab in the dark here is something is conflicting with the 'Priority' column in the SiteTree table used for Google Sitemaps, but from where I haven't the slightest idea.
Thanks for all your awesome work at filling in all the blanks of the SS core dev team, DOM, Uploadify and ImageGallery are all awesome additions to every project!