Editions counts are doubled

TalkBug Collectors

Join LibraryThing to post.

Editions counts are doubled

This topic is currently marked as "dormant"—the last message is more than 90 days old. You can revive it by posting a reply.

1r.orrison
Sep 29, 2010, 6:47 am

It appears that the count of copies for each edition on a work's editions page is double what it should be. Here's a simple case:
http://www.librarything.com/work/2328309/editions
Only one person has the book, I only have one copy, but it's showing 2 copies

This has been around a while and mentioned before, though I can't find the reference.

Here's another example:
http://www.librarything.com/work/3566744/editions
All the counts are even, and total to 24, which is exactly double the member count.

2bergs47
Sep 29, 2010, 9:21 am

I have pointed it out twice. Can't think why this bug is so down the list. Here is my previous post

http://www.librarything.com/topic/96849

3EveleenM
Sep 29, 2010, 11:04 am

It first appeared at the end of May:
http://www.librarything.com/topic/91708 - Tim made a change to the way zero-edition works are counted, which he referred to in message 99 (May 31). The bug is referred to in message 104.

4timspalding
Edited: Oct 7, 2010, 10:39 pm

Fixed. It was combining the cached and the "real" (calculated) counts. I may take away the later, since it's rather wasteful of resources to be calculating it every time.

5brightcopy
Oct 7, 2010, 11:29 pm

Awesome! Even knowing this bug, it's tricked me time and time again.

6r.orrison
Oct 8, 2010, 1:57 am

Thanks!

7EveleenM
Oct 8, 2010, 5:23 am

Thanks!

8eromsted
Edited: Oct 23, 2010, 1:58 pm

I think the edition count doubling bug may be back.

Perhaps as a result of fixing the no copies bug.

10timspalding
Oct 25, 2010, 5:11 pm

I got it, finally. Basically, for a certain category of books (ones without too many copies), it was calculating the counts twice.