搜尋此站:

2007-01-02

Blogger Beta: Label Counter Bug?

I have a habit to apply exactly one language label to each of my blog posts such that the sum of posts labeled with each language should be give the total number of posts. However, I noticed something strange tonight:

posts labeled "[Lang=English]" + posts labeled "[Lang=中文]" = 3 + 67 = 70
2007 Archive + 2006 Archive = 1 + 72 = 73
They were different!!! My first guess was that I forgot to apply the language label to some of my posts. After some efforts, I confirmed that it was not the case.

In the "Edit Post" page, I found that there were totally 4 posts labeled "[Lang=English]" but on the left it only showed 3:

The counter for "[Lang=中文]" was incorrect too, it showed 67 instead of 69:


My programming sense told me that improper handling of special characters like "[", "]" and "=" could be the root cause, but very soon later I discovered similar issues in the "Blogging" and "日記" labels, disproving my guess:



Then I noticed that all the post labeled "Blogging" were also labeled "[Lang=English]", while all post labeled "日記" were also labeled "[Lang=中文]". A more interesting finding was that, the number of missing counts for "Blogging" was the same as that of "[Lang=English]" (both missed 1), and the number of missing counts for "日記" was equal to that of "[Lang=中文]" (both missed 2). I suspected some posts were causing the issue.

I tried to apply a new label "Blogging_test" to all the posts labeled "Blogging". If I was correct, the new label should also have a missing count of 1 (like the case for the label "Blogging"). However, the result showed clearly that I was wrong again - the label count is 2 - there was no missing count:

I double-verified this by listing only those labeled "Blogging_test":


So it was not the posts causing the issue. I deleted the problematic labels and re-created them, but this didn't help. It seemed that the problem could be related to cache. I cleared the browser cache, used another browser, or even asked my friend who used a different ISP from me to eliminate the factor of ISP cache, but all these got the same result. Maybe Google or someone else in the transmission pathway cached the result? Maybe it is a bug in Blogger Beta? I don't know...

Did anyone encounter the same issue? Any idea or findings about that?

2 comments:

  1. Yes, besides wrong counts, also deleted labels still tend to show on some blogs:
    http://groups.google.com/group/blogger-help-troubleshoot/browse_thread/thread/d4f78f2ef07289eb

    ReplyDelete
  2. Oh. Thanks for the information. I have submitted a bug report to Google on the wrong count issue. Wish it will be fixed soon.

    ReplyDelete

HTML Tags allowed (e.g. <b>, <i>, <a>)