PDA

View Full Version : [Bug Report] Attempting to add word to word list that is already in list results in fault.



daperson1
12-27-2010, 08:46 PM
A trivial bug I found today - when adding words to a wordlist using the ES admin tool, if you attempt to add to the list a word that is already in the list the following error is produced:


faultCode:Server.Error.Request faultString:'HTTP request error' faultDetail:'Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://209.172.57.88:8090/jmx/exec/com.electrotank.electroserver:type=ElectroServer.A dministration.Filters/createWordListWord/1/koose"]. URL: http://209.172.57.88:8090/jmx/exec/com.electrotank.electroserver:type=ElectroServer.A dministration.Filters/createWordListWord/1/koose'

(Where "koose" was the word being added.)

Enjoy :).

daperson1
12-27-2010, 09:46 PM
On another note, however, it appears that the web admin caches the server's responses to queries.
For example, I open the admin panel when my server has no extensions, load the extension page, and observe that there are no extensions. I now install an extension, and push the restart server button on the admin panel. When I now reconnect and reload the extension page I continue to see that there are no extensions, when there is now in fact one. This is resolved by reloading the web admin. This suggests rather strongly that the browser's caching mechanism is causing problems - have you considered appending a random GET variable to the end of URLs or such (depending on exactly how the thing "talks" to ES) to prevent this from happening? (Browsers cache URLs based on uniqueness, so if you just append ?a=someRandomNumber to the end of requests from within flash caching never occurs).
Again, a sort of trivial bug, but it's slightly annoying. (and confusing until you work out that it's a cache issue.)

tcarr
12-27-2010, 10:32 PM
Both of these bugs are already in our system, just waiting to be fixed.

jobem
12-27-2010, 10:41 PM
Thanks for this. I've logged tickets for both issues in our system!

jobem
12-27-2010, 10:42 PM
Oops, Teresa beat me to it.