MER-C/wiki-java

Private wikis throw NumberFormatException

Closed this issue · 0 comments


What steps will reproduce the problem?
1. Try to access a wiki that requires login access 
($wgGroupPermissions['*']['read'] = false;)

What do you see instead?

Exception in thread "main" java.lang.NumberFormatException: For input string: 
"l version="1.0"?><api servedby="newpublic"><error code="readapidenied" 
info="You need read permission to use this module"

Adding a try/catch around 6099 gets around this.

thanks!


Original issue reported on code.google.com by masonda...@gmail.com on 24 Apr 2012 at 10:50