Error messages don't expand

Post here your questions about the Java client / Android API for SFS2X

Moderators: Lapo, Bax

Post Reply
Democre
Posts: 77
Joined: 16 Sep 2010, 17:58

Error messages don't expand

Post by Democre »

It appears that the error messages received from the server have an issue.

SFS2X-RC2a
java client b3

I tried on the server:

Code: Select all

SFSErrorData error = new SFSErrorData( SFSErrorCode.GENERIC_ERROR );
error.addParameter( "GENERIC ERROR" );
throw new SFSLoginException( "Generic error thrown", error );
In the client I get "{0}" as the error message. It appears as if it doesn't get expanded correctly.

-Andy
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Post by ThomasLund »

Yep - known issue that will be fixed in the next release.

Thanks for reporting though!!

/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Democre
Posts: 77
Joined: 16 Sep 2010, 17:58

Post by Democre »

I thought I had seen it reported, but couldn't find it through a search.
Any ETA on the next release?
Also, does this issue affect all clients, or just the Java client?
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Post by ThomasLund »

Its a java client only bugger from what I can see.

ETA - got a planning/prioritization chat with Marco this week. Will know more then!

/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Post by ThomasLund »

Fixed in SVN now.

/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Post Reply