[wp-gsoc] [Summer of Code] #341: Importer iterator state increments regardless of success or failure

Summer of Code noreply at wordpress.org
Wed Jul 31 04:11:12 UTC 2013


#341: Importer iterator state increments regardless of success or failure
-------------------------------------+-------------------------------
 Reporter:  frederick.ding           |       Owner:  frederick.ding
     Type:  defect                   |      Status:  accepted
 Priority:  major                    |   Milestone:  2013 Final (1.0)
Component:  Migration & Portability  |  Resolution:
 Keywords:                           |
-------------------------------------+-------------------------------
Changes (by frederick.ding):

 * owner:   => frederick.ding
 * status:  new => accepted


Comment:

 One very appealing solution is to use the `processed_posts` property
 somehow -- for example, using `array_diff()` or `array_udiff()` between
 `posts` and `processed_posts` so that the iterator is only working on non-
 imported posts each time.

--
Ticket URL: <http://gsoc.trac.wordpress.org/ticket/341#comment:1>
Summer of Code <http://gsoc.trac.wordpress.org>
My example project


More information about the wp-gsoc mailing list