- πΊπΈUnited States hongpong Philadelphia
Closing this as we move on from 7.x. Feel free to open again if anyone works on it.
When importing from a WXR file with path module enabled, link values for pages and posts are not getting imported as url alias. Path value for these items is empty. The link xml element is present in the correct place in the WXR and I have selected "Set path aliases to their original WordPress values"
After reviewing the code, the cause is that when adding the path/link field mapping (_construct method of wordpress_item.inc) the xpath has been omitted.
I will post a patch for this shortly. If this patch doesn't fit your version, look for
switch ($this->arguments['path_action'])
and in case 1:
, change
$this->addFieldMapping('path', 'link');
to
$this->addFieldMapping('path', 'link')->xpath('link');
Closed: outdated
2.3
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Closing this as we move on from 7.x. Feel free to open again if anyone works on it.