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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Data not showing up in the back end after CSV import?


Reply


2 Posts   1244 Views

Avatar
3pointross

Community Member, 19 Posts

8 September 2009 at 11:54pm

I have a weird issue where after importing a lot of data into the MySQL database from a CSV file I can no longer see any of the data in the DataObjectManager interface -- even though it shows up on the live site (http://wwcsd-dir.stagedsite.net/staff-directory/). I have tried going through and making sure all of the rows have the silverstripe fields filled out (created, edited, ID, etc...) but nothing seams to have helped.

If I create a new record through the interface that does show up however. Is there something I am missing?

Avatar
UncleCheese

4085 Posts

9 September 2009 at 2:07am

It's almost certainly the foreign key of your dataobject. Make sure it's set to the correct value. If you have an ObjectHolder page with a DataObjectManager managing Objects, make sure the Object records have ObjectHolderID set to the ID of your ObjectHolder page.