[mb-bugs] [jira] Commented: (SEARCH-31) Incorrect artist names in search results

Paul Taylor (JIRA) jira-admin at musicbrainz.org
Sat Feb 20 08:44:15 UTC 2010


    [ http://jira.musicbrainz.org/browse/SEARCH-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10617#action_10617 ] 

Paul Taylor commented on SEARCH-31:
-----------------------------------

Problem of parsing on the Musicbrainz Server

Search Server returns the following json for one of these results:
{"release-list":{"offset":0,"count":1,"release":[{"score":"100","id":"a8c32ca5-1622-41d1-a0d8-eb1a76ccb625","title":"Das Konzert (disc 1)","status":"official","text-representation":{"language":"deu","script":"latn"},"artist-credit":{"name-credit":[{"joinphrase":", ","name":"Mey","artist":{"id":"3531715d-fee3-4c5b-82ff-5d85865b598b","name":"Reinhard Mey","sort-name":"Mey, Reinhard"}},{"joinphrase":", ","name":"Wader","artist":{"id":"f07b5d3a-b385-4244-ad6e-ea6b5ccbe1ae","name":"Hannes Wader","sort-name":"Wader, Hannes"}},{"name":"Wecker","artist":{"id":"4e1d5be7-6736-4af3-8ac8-619fabc57818","name":"Konstantin Wecker","sort-name":"Wecker, Konstantin"}}]},"release-group":{"type":"live"},"date":"2003","country":"de","medium-list":{"count":1,"track-count":13,"medium":[{"disc-list":{"count":1},"track-list":{"count":13}}]}}]}}

But I think its clearer to see the issue in xml:
<artist-credit>
<name-credit joinphrase=", ">
<name>Mey</name>
<artist id="3531715d-fee3-4c5b-82ff-5d85865b598b">
<name>Reinhard Mey</name>
<sort-name>Mey, Reinhard</sort-name>
</artist>
</name-credit>
<name-credit joinphrase=", ">
<name>Wader</name>
<artist id="f07b5d3a-b385-4244-ad6e-ea6b5ccbe1ae">
<name>Hannes Wader</name>
<sort-name>Wader, Hannes</sort-name>
</artist>
</name-credit>
<name-credit>
<name>Wecker</name>
<artist id="4e1d5be7-6736-4af3-8ac8-619fabc57818">
<name>Konstantin Wecker</name>
<sort-name>Wecker, Konstantin</sort-name>
</artist>
</name-credit>
</artist-credit>

Its returning three name-credit elements, the server should be constructing the name credit from the <name> field directly after the <name-credit> but instead seems to be using the <name> element within the <artist> field. 

> Incorrect artist names in search results
> ----------------------------------------
>
>                 Key: SEARCH-31
>                 URL: http://jira.musicbrainz.org/browse/SEARCH-31
>             Project: MusicBrainz Search Server
>          Issue Type: Bug
>            Reporter: Lukáš Lalinský
>            Assignee: Oliver Charles
>
> Incorrect: http://test.musicbrainz.org/search?query=%22Das+Konzert+disc+1%22&type=release&advanced=1
> Correct: http://test.musicbrainz.org/search?query=Das+Konzert+disc+1&type=release&direct=1
> It uses the artist's main name, not the release-specific name.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.musicbrainz.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the Musicbrainz-bugs mailing list