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,
    [In attesa di moderazione]

    [In attesa di moderazione]


    The query results are:

    <results xmlns:opensearch="[In attesa di moderazione]; xmlns:geo="[In attesa di moderazione]; 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 ha detto...
    • Forum Moderator
    • Ago 29 2012, 16:56
    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 ha detto...
    • Staff
    • Set 12 2012, 15:54
    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)
Gli utenti anonimi non possono inviare messaggi. Per inserire messaggi nei forum, accedi o crea il tuo account.