« Back Issue #391
  • 2013-05-02 13:34 Reported by originalmeister
  • 2013-06-18 11:04 Marked fixed
Status: Marked fixed
Priority: Low

Stats start count from zero after injecting a new seed-url while crawling is active

originalmeister 2013-05-02 13:34

Stats going weird after injecting a new seed-url, while crawling is active!

Steps to reproduce: Inject a new seed-url, while a crawl is active

Additional information: http://www.seekquarry.com/phpBB/viewtopic.php?f=1&t=921

administrator 2013-05-12 09:43

Adding a target for a version to fix this by.

administrator 2013-06-18 11:04

Fixed with commit 630af71. The issue was that CrawlModel::setCrawlSeedInfo used the variable $info to read in the current count, then accidentally the variable $info was also used as the value of a key=>value foreach, thus erasing $info's original value. Then the deleted $info was written out to disk. This was fixed by renaming the variable of the foreach loop parameter to $type_info.

X