[dw-free] Community importer fails to import certain entries
[commit: http://hg.dwscoalition.org/dw-free/rev/b510e43dbfcd]
http://bugs.dwscoalition.org/show_bug.cgi?id=2091
Fix broken logic that prevents some posts from being imported during a
community import.
Patch by
mark.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2091
Fix broken logic that prevents some posts from being imported during a
community import.
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm
-------------------------------------------------------------------------------- diff -r ba33322ecc17 -r b510e43dbfcd cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm --- a/cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm Tue Nov 10 05:03:48 2009 +0000 +++ b/cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm Wed Nov 11 11:59:30 2009 +0000 @@ -231,7 +231,7 @@ sub try_work { # now try to determine if we need to post this as a user my $posteru; - if ( $evt->{poster} && $evt->{poster} ne $data->{username} ) { + if ( $data->{usejournal} ) { my $posterid = exists $user_map{$evt->{poster}} ? $user_map{$evt->{poster}} : DW::Worker::ContentImporter::LiveJournal->remap_username_friend( $data, $evt->{poster} ); --------------------------------------------------------------------------------
no subject
no subject
It's available right now on a limited basis, by request, but it's situational since it's still somewhat manual for us to do.
no subject