The Hotness
Games|People|Company
Dungeon Crawl Classics Role Playing Game
Briarwood Castle
Parsec
Forgotten Realms Campaign Set
Pokéthulhu Adventure Game (2nd Edition)
Pathfinder Roleplaying Game: Beginner Box
The One Ring: Adventures over the Edge of the Wild
Reforger
Run out the Guns!
Pathfinder Roleplaying Game Advanced Race Guide
Shards of the Shattered Universe Core Rules
Chill Horror Role-Playing Game
The Slayer's Guide to Demons
Horrors of the Z'bri
Shadows of Yog-Sothoth (2nd Edition)
Pathfinder Roleplaying Game Bestiary
Into the Shadowhaunt
Lamentations of the Flame Princess (Grindhouse Edition)
Marvel Heroic Roleplaying: Basic Game
Busca Final
Yiffpunk
Call of Cthulhu (6th Edition)
Dungeons & Dragons Set 1: Basic Rules
X1: The Isle of Dread
ΑΓΩΝ
World of Darkness
Dice
Hellfrost Player's Guide
Book 02: Fire on the Water
B5: Horror on the Hill
Citybook VI: Up Town
Pathfinder Roleplaying Game Core Rulebook
Castle Falkenstein
Dave Arneson's Blackmoor: The First Campaign
Dark Dungeons
Legends of the Ancient World
Diaspora
PC Pearls: A Collection of Character Inspiration
Warhammer Fantasy Roleplay Core Set
Usagi Yojimbo
Savage Worlds: Test Drive V6!
In Search of Adventure
Monstercology: Orcs
Sartar: Kingdom of Heroes
Dragon Age RPG, Set 1
GURPS Ultra-Lite
The Edge of Night
By the Sword: Dueling in Realms of Fantasy
Floor Plan 2: The Great Salt Flats
Mouse Guard Roleplaying Game Box Set
Recommend
3 
 Thumb up
 Thumb up
1 Posts

RPG» Forums » RPGG Related » RPGG Bugs

Subject: GeekLinkSuggest subOptimal rss

Your Tags: Add tags
Popular Tags: [View All]
peter pan
Poland
Warsaw
mazowieckie
Avatar
mbmbmbmbmb
This may be corrected in the future version and it's kind of hard to explain but here it is:

When I create link to i.e. rpg item or when I add i.e. issue (I will go with this example) on the geeklist there is this strange behaviour:

I type something, hesitate for a fraction of second, and type the rest, i.e.:

Rebel Times [hesitate for a fraction of second] 37

Now, the fraction is big enough that the browser sends a asynchronous request to the server for a list matching "Rebel Times" which is now nearly 50 objects. Then it sends a request to the server for a list matching "Rebel Times 37" which is 1 object. The problem is they return in the wrong order because fetching 50 objects takes longer than 1 object, sooo:


Client_______________________________Server
"Rebel Times" ------------------------------------->
"Rebel Times 37" --------------------------------->
<---------------------------------------- Rebel Times 37 : object
The 1 object
is displayed
for a fraction
of second
<---------------------------------------- Rebel Times: objects
List of way
too many
objects

The problem is that the "suggest" controller discards current results in favor of the one that come from the server (at least it appears to be happening based on user experience), ingoring the fact that the "current" result is actually more fresh than the incoming one. So in essence: old response is treated as newer than newest one.

The obvious solution - if my understanding of the underlying problem is correct - is to send an increasing number with each request (or timeStamp) which should be then sent back with the results from the server. In this way the controller could compare numbers/timeStamps and discard current results only if the incoming data is a newer request.
2 
 Thumb up
 tip
 Thumb up
  • Last edited Thu Nov 3, 2011 12:19 pm (Total Number of Edits: 1)
  • Posted Thu Nov 3, 2011 12:17 pm
    • Choose your Dice
      • Roll
      • Comment (Optional)
    • QuickReply
    •  
    • QuickQuote
    •  
    • Reply
    •  
    • Quote
Front Page | Welcome | Contact | Privacy Policy | Terms of Service | Advertise | Support BGG | Feeds RSS
Geekdo, BoardGameGeek, the Geekdo logo, and the BoardGameGeek logo are trademarks of BoardGameGeek, LLC.