Bug report : venue.search

 
  • Bug report : venue.search

    When querying venues with this function, unlimited venues can be returned, with the parameter "page".

    for example,
    [Aguardando moderação]

    [Aguardando moderação]


    The query results are:

    <results xmlns:opensearch="[Aguardando moderação]; xmlns:geo="[Aguardando moderação]; for="New York">
    <opensearch:Query role="request" searchTerms="New York" startPage="100"/>
    <opensearch:totalResults>4033</opensearch:totalResults>
    <opensearch:startIndex>4950</opensearch:startIndex>
    <opensearch:itemsPerPage>50</opensearch:itemsPerPage>

    You see, the total number is 4033, but the startindex is 4950 !!

    • tburny disse...
    • Forum Moderator
    • Ago 29 2012, 16h56
    Thanks for reporting.
    So the start index is wrong when the number of pages is exceeded, same goes for startPage.

    Combo.fm: Combine your favourite radio stations! | My Blog | scala-lastfmapi | Cache2k - A high performance Java in-memory cache
    P.S.: Do not click here
    throw new PokemonException(); //Gotta catch 'em all
    My forum post reflects my personal opinion :)
    • ben-xo disse...
    • Equipe
    • Set 12 2012, 15h54
    Hi there,

    This is expected behaviour. All pages from 0 to infinity exist - most of them are empty.

    Check out my latest Drum'n'Bass mixes at http://www.mixcloud.com/benxo (it scrobbles)
Usuários anônimos não podem postar mensagens. É preciso fazer login ou criar uma conta para postar nos fóruns.