I know this has been deliberately done and is not a bug and it makes sense but in my case I am exporting the nodes with two same sites at different places so it is necessary that I retain the author information. There is a patch for drupal 6 version http://drupal.org/node/608498#comment-3579618
I was wondering if there was a patch for the drupal 7 version.

Thanks is advance.

Comments

danielb’s picture

Status: Active » Fixed

I consider that patch to be a security problem so I can't officially support it. If you can guarantee that the same username on different sites is actually the same person, then yeah I guess you could do something similar.

I would prefer to use node_export_relation to match authors up with UUID. But I have no advice on how to move accounts from one site to another. Another answer is to allow the admin to choose properties by which to identify accounts (username, uuid, etc...) so the responsibility lies with them, but that involves more work.
#794836: Handle Authors

However there are a number of open bugs which are of more importance than adding new features at the moment.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

rubyji’s picture

Issue summary: View changes

I am importing the nodes into a site that is a clone of the exporting site and can guarantee that the author IDs will be the same. This really ought to be an option. The risk is assumed by the site administrator, not the module author.