SymbiSoft / mobbler

Automatically exported from code.google.com/p/mobbler
0 stars 0 forks source link

USER 130 crash when shouting at an empty shoutbox #462

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have the Italian version of Mobbler so I do not know the exact terms in 
English but      I try to translate. I am using Nokia n95 with firmware 
31.0.017 rm159 mobbler 0.06(5124). I got an error trying to interact with 
my personall wall (on the italian language it's called "bacheca". I press 
the option key, then go to View, then wall, and select it. My own wall is 
empty - and when I go options again and try to enter in the menu item "say 
it" (italian "dillo") submenu, mobbler crashes. The window completely 
closes, I would expect to see something as the list of contacts or 
something similar. Thanks a lot!

Original issue reported on code.google.com by talks...@gmail.com on 18 Jun 2009 at 1:44

GoogleCodeExporter commented 8 years ago
"Bacheca" is "Shoutbox" in English, and "Dillo" is "Shout".

I just tried it (in the emulator), and managed to reproduce it, it's a USER 130 
crash.

Thanks for the report, we'll look into it.

It should try and show two options: 
"Shout at [my username]"
"Shout at [username of the selected shout]"

But if the shoutbox is empty, either the "Shout" menu option should be 
completely 
removed, or it should just have "Shout at [my username]". Some people might 
want to 
shouting on their own empty wall, so the second choice is probably best.

Original comment by hugovk@gmail.com on 18 Jun 2009 at 4:50

GoogleCodeExporter commented 8 years ago

Original comment by hugovk@gmail.com on 18 Jun 2009 at 6:06

GoogleCodeExporter commented 8 years ago
Fixed in r715.

ShoutAtTextUserLC was being called, which looks up a iList[] item, and causes 
an 
array out-of-bounds panic.

I also noticed if your usename is all lower case (e.g. "myusername") in 
Mobbler, but 
mixed case on Last.fm (e.g. "MyUserName"), then if there's a single shout from 
yourself, it shows it twice as: 
Shout as myusername
Shout as MyUserName
But it should show it only once. So I've fixed that too (without making a new 
bug, 
is that ok?).

Original comment by hugovk@gmail.com on 18 Jun 2009 at 7:09