|
From: | Michael Gratton |
Subject: | [Librefm-bugs] [bug #26569] session expiry produces db constrinat error rather than BADSESSION |
Date: | Thu, 14 May 2009 07:15:16 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en; rv:1.9.0.10) Gecko/20080528 Epiphany/2.22 Firefox/3.0 |
URL: <http://savannah.nongnu.org/bugs/?26569> Summary: session expiry produces db constrinat error rather than BADSESSION Project: libre.fm Submitted by: mjog Submitted on: Thu 14 May 2009 04:45:14 PM CST Category: gnukebox Severity: 3 - Normal Item Group: Scrobbling Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: It seems like when your session expires, rather than returning a response containing BADSESSION as per the last.fm API submission docs, the following text is returned: > -1: ERROR: insert or update on table "now_playing" violates > foreign key constraint "now_playing_sessionid_fkey" This is breaks clients since they don't recognise that the session has expired and hence do not attempt to obatina new one. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?26569> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |