Re: Help with 400 Bad Request

Ian McEwen <[email protected]> Sat, 14 Feb 2015 21:59:41 -0700
Newsgroups gmane.comp.audio.musicbrainz.devel
Message-ID <[email protected]>
On Sun, Feb 15, 2015 at 05:48:32AM +0100, Ulrich Klauer wrote:
> Ian McEwen wrote:
>
> > However, this also works fine with 4 rather than 80, though the result
> > on the site is that it appears to be unrated, since that's less than 1
> > star.
>
> Actually, the rating is visible - the left edge of the first star has
> a tiny blue dot:
> http://chirlu.mbsandbox.org/recording/f5aec1b4-0162-489b-ad1a-2aeecebc7d8a/ratings
> So as you see, it worked for me, too.
>

Ah. I couldn't see it in the yellow color for my own rating, I think. Or
perhaps I wasn't looking hard enough. Anyway, it still largely does
appear unrated, especially on small screens ;)

> > Looking at the code, most normal errors should return an XML document
> > with the error, e.g. if I change 'recording' to 'event' (since events
> > can't be rated), I get:
>
> This is a bug, BTW, because events do have ratings. I'll make it use
> %ENTITIES instead of the outdated hardcoded list.
>

Heh, I was thinking exactly that as I looked at it. Didn't occur to me
that it might *already* be wrong though.

> Ulrich
>
>
> _______________________________________________
> MusicBrainz-devel mailing list
> [email protected]
> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel

_______________________________________________
MusicBrainz-devel mailing list
[email protected]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
signature.asc (application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlTgJ7oACgkQq+0avXExp29FyACfVJHGDWSxWAcwBp/hZg3LXlI9
IvMAn3lb5CdO4E25Lz/n8ZJ9qnyMaUwV
=cATy
-----END PGP SIGNATURE-----