I am trying to: migrate custom ToolSet post content from one site to another
Link to a page where the issue can be seen: hidden link (passworded...)
I expected to see: single email and lab website
Instead, I got: duplicate email and lab website
see attached image - this is the xml file wordpress exported - you can see that email and lab website appear twice, resulting in duplicate entries. There are hundreds of professors to migrate and I am limited in the plugins UNC will allow
suggestions?
If you could show me how to modify the VIEW so that it ignores duplicate entries, that would be a satisfactory solution to this.
Hi, can you attach a link where I can download the entire export file? It's hard for me to see exactly what's happening based on this sample.
hidden link
I do not have database access so I uploaded a zip of the export file...
You can view the current site here: hidden link (hideous, I know)
the dev site is password protected; if you need access let me know.
Hmm, we're looking at different files. In your screenshot I can clearly see the jacquecole email address listed twice, but in the XML document you provided that name only appears once. Also, the line numbers are different. I see jacquecole at line 835, but in the image your provided it appears around line 1330 and again at 1414. Any thoughts about this discrepancy?
I see that i was examining an export that I had made from the DEV site, not the live site. The xml I sent to you was from the LIVE site.
This means that the extra email entries were caused by the IMPORT utility, not the export utility.
That being said, can you suggest why the WordPress import utility is creating multiple entries in the People custom post?
It's possible the field is set up to store multiple values (a repeating field). You can go to Toolset > Custom Fields and edit this field to check its settings. "Allow multiple-instances of this field" will enable you to create more than one email address for each post. "This field can have only one value" prevents this.
I just did a quick scan of the XML file and I can see other posts with more than one entry for wpcf-email-people (search for 1956, or ke cheng). At some point, this field allowed multiple entries, or data was imported incorrectly to create multiple values for the same key. Is it possible the existing data isn't being wiped out before import? That could effectively create multiple meta key entries for the same post ID.