Have I found a bug?


 
Thread Tools Search this Thread
Contact Us Post Here to Contact Site Administrators and Moderators Have I found a bug?
# 1  
Old 05-15-2008
Have I found a bug?

When searching for new posts, I see that my voting in one of the polls counts as a 'new post'. However, while the '<blah> minutes ago' entry updates correctly, the 'by <username>' is the last user to actually post a comment in the poll instead.

Result:
Code:
Poll: vB Guest Book                  39 Minutes Ago                 6 	68 	
Neo                                  by jim mcnamara

But jim last posted to this topic 4 weeks ago.

Not exactly world-ending stuff but still... bug?
# 2  
Old 05-15-2008
That post includes a poll as well. Perhaps someone may had voted in that poll. That may be the reason for the post to show up in the 'New Posts'.
# 3  
Old 05-15-2008
I find that irritating, though.
# 4  
Old 05-15-2008
Also, the internal crontabs to update counters may run differently, since we don't update all counter every second to save CPU cycles ....
# 5  
Old 05-15-2008
That is actually the expected behavior, albeit not a most attractive implementation. The thread gets touched when you vote on a poll and hence gets promoted to the to pof the list in terms of most recent, but as you observed the "updated by" does not get changed because the poll vote is not a post.

The internal mechanism used by vb, for efficiency in queries, is it to take the top N list by date from the smaller table ( thread ) which contains a last post id as one of the columns and simply selects those ids from the post table. In the current implementation there is no way to tell if the last update is a poll vote or a real post.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Has AudioScope found a bug in bash 4.4.5?

Using AudioScope.sh on Ubuntu 17.04 from a live DVD disc I came across an error. Consider the code below it is a MUCH shortened version of the KEYBOARD input in AudioScope. #!/bin/bash bash --version uname -a status=0 KEYBOARD() { read -r -p "Enter QUIT or EXIT to quit:- " kbinput if ||... (11 Replies)
Discussion started by: wisecracker
11 Replies

2. Programming

is this a bug of g++?

Hello, Im using the g++(g++ Ubuntu/Linaro 4.4.4-14ubuntu5 4.4.5) and im trying to compile a small snippet code and got into an endless loop.I recompiled that in VS2010 under Windows 7 and the answer is as expected.so i wonder is this a bug of g++?here is my code. #include<iostream> using... (5 Replies)
Discussion started by: homeboy
5 Replies

3. Shell Programming and Scripting

mv command not found bug

foreach x ( *.foo) echo "move file?" set move=$< if($move == y) then echo "enter new pathname:" set path=$< mv $x $path/$x endif end ok guys, im creating this script so i can move files with *.foo extensions and *.bar... (6 Replies)
Discussion started by: pantelis
6 Replies

4. UNIX for Dummies Questions & Answers

where's the bug?

#!/bin/bash if then #echo "infinite loop" exit 0 fi when I run this file I get the following error: ./test_infinite_loop: line 5: syntax error near unexpected token `fi' ./test_infinite_loop: line 5: `fi' :confused: (4 Replies)
Discussion started by: jon80
4 Replies

5. AIX

bug in 43 ???

xxxxserver# lsattr -El inet0 | grep 255.240.0.0,32.224.0.0,32.78.120.254 | grep '.40' route net,-hopcount,1,-netmask,255.240.0.0,32.224.0.0,32.78.120.254 How this is possible? (1 Reply)
Discussion started by: itik
1 Replies

6. Shell Programming and Scripting

Is it a bug ..?

Hi All, I am using Red Hat Linux on my servers. The problem that I am facing is, sometimes the /opt usage on the server shows used percentage as 100% , when actually it is simply 20%. When I reboot the system, it comes back to 20%.Is this a bug in the system or my settings have gone wrong... (1 Reply)
Discussion started by: nua7
1 Replies

7. Shell Programming and Scripting

how can i check in csh if command found or not found ?

hello all im trying to use in sun Solaris the information received from the top command now i several machines that dont have install the top program so when im running the script im geting error saying after im running this code : set MemoryInfo = `top | grep Memory` if (... (2 Replies)
Discussion started by: umen
2 Replies

8. Shell Programming and Scripting

Y2.038K bug

Does any1 hav the idea abt wat cause this bug in unix on jan 19th 2038??? please enlighten me abt it.... (2 Replies)
Discussion started by: bourne
2 Replies
Login or Register to Ask a Question