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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

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


Go to End


2 Posts   2024 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

Forum Moderator, 4102 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.