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.

Data Model Questions

[solved] Blank page on Edit using ModelAdmin


Reply

3 Posts   339 Views

Avatar
tahbit

21 May 2014 at 3:07am (Last edited: 21 May 2014 8:04pm), Community Member, 24 Posts

Hi - using SilverStripe 3. Problem I am having is that when you edit a record you do not always get the the edit form but just a blank area where the form should be.

I am using ModelAdmin for this. Anyone else had this problem - if so any possible causes or solutions?

Avatar
camfindlay

21 May 2014 at 7:56am (Last edited: 21 May 2014 8:04pm), Forum Moderator, 149 Posts

Might be worth checking your DataObject code or perhaps providing some more details. ModelAdmin is usually pretty robust so might need more info to help investigate why it is causing issues in your current project :)

Avatar
tahbit

21 May 2014 at 6:15pm (Last edited: 21 May 2014 8:04pm), Community Member, 24 Posts

Thanks, Camfindlay for your response. Took your advice and I think I've identified the issue. The cause was two fold, not all of my tables had columns with either Title or Name in them. The other factor could have been some of the joins I had put in place - hasMany in particular.

Once I had edited the above it seemed to have resolve its self.