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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

ModelAdmin Loads incorrectly after adding a new item.


3 Posts   1069 Views


26 March 2010 at 7:56pm Community Member, 76 Posts

Clicking on either the 'Create' or 'Search' buttons after adding a new item using ModelAdmin causes the page to reload incorrectly. This doesn't happen after editing or deleting an existing item.

I'm using SS v2.3.7, the 2.3 branch of DOM and SWFUploadField, and the stable release of MultiForm. Here's my code [url][/url] and I've attached a screen shot to illustrate the problem.

Any help identifying the source of the problem or a solution is appreciated.

Detailed Description

  • Access 'Distributor' tab in the main CMS menu (it shows up next to 'Security')
  • Click 'Create Distributor' button in the sidebar.
  • Fill out fields and click 'Add' button.
  • The page appears to reload just fine except that up until now the url has read '', now it reads '' where ID is the DB id of the new item.
  • Click either 'Create Distributor' or 'Search' in the sidebar.
  • The page reloads looking like the image I linked and the URL changes once again.


31 March 2010 at 8:39am Community Member, 3 Posts


i've same issue. I use TranslatableModelAdmin, but in normal ModelAdmin is same. So after many try's igot no fix. Some search results in forum doesn't help....

Has anyone a fix or howto, to solve the problem?

many thx


7 April 2010 at 5:32am Community Member, 243 Posts

Same problem here, any insight would be wonderful.

Looks like a JS problem to be, some function isn't being attached correctly to the add action or isn't returning false.