bugGNU FM - Bugs: bug #26675, Recent tracks (reported before...

 
 

bug #26675: Recent tracks (reported before registering) cause php errors

Submitter:  Alex. <forger>
Submitted:  Mon 25 May 2009 09:30:36 PM UTC
   
 
Category:  nixtape/alpha Severity:  3 - Normal
Item Group:  Scrobbling Status:  Fixed
Privacy:  Public Assigned to:  jurgbohn
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 03 Jun 2009 09:38:51 PM UTC, comment #1: 

Resolved in bzr r1730

Jørgen Bøhnsdalen <jurgbohn>
Group Member
Mon 25 May 2009 09:30:36 PM UTC, original submission:  

I registered and used the scrobblefree plugin for Rhythmbox 0.12.0, Ubuntu 9.04.

Somehow, Rhythmbox reported as "recently listened" all the tracks I've listened to in the past ~48 hours.

There are two problems here:

1. when this occurs and an artist/group is not in the database but it is, however,reported as "listened to" (although before registering), clicking the artist name in the alpha.libre.fm/user/username/recent-tracks page leads the user to a page which says "Artist not found. The artist Artist Name Here was not found in the database."

2. the second and ugliest problem is that, if case #1 happens, clicking a track title in the user's recent tracks page (track that belongs to the artist the user listened to before registering) leads to a php error.

For instance:

Artist: Bishop Of Hexen
Album: Archives Of An Enchanted Philosophy
Track: Crossing The Borders Between Light & Darkness

The error when trying to go the the page http://alpha.libre.fm/artist/Bishop%20Of%20Hexen/album/Archives%20Of%20An%20Enchanted%20Philosophy/track/Crossing%20The%20Borders%20Between%20Light%20%26%20Darkness

was:

Fatal error: Uncaught exception 'Exception' with message 'No such artistBishop Of Hexen' in /home/librefm/web/data/Artist.php:56 Stack trace: #0 /home/librefm/web/track.php(34): Artist->__construct('Bishop Of Hexen') #1 {main} thrown in /home/librefm/web/data/Artist.php on line 56

* Note * I don't know to which category this issue applies to; please feel free to edit it.

Alex. <forger>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jurgbohn (Posted a comment)
  • -email is unavailable- added by forger (Submitted the item)
  • -email is unavailable- added by forger
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-06-03 jurgbohn CategoryNone nixtape/alpha
        StatusNone Fixed
        Assigned toNone jurgbohn
        Open/ClosedOpen Closed
    2009-05-25 forger Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code