openbazaar-desktop icon indicating copy to clipboard operation
openbazaar-desktop copied to clipboard

Ensure the client gracefully handles unrecognized currency codes

Open rmisio opened this issue 6 years ago • 2 comments

In all the myriad of ways the client is given a currency by the server, ensure that if the client is given an unrecognized code, it appropriately handles the situation. In many cases, this could be as simple as an alert message which may block off dependent functionality. What we want to avoid is the client bombing on an exception and being completely unusable.

rmisio avatar Oct 23 '18 18:10 rmisio

FYI, we introduced a code pattern to begin reigning this problem in on the server side.

placer14 avatar Jan 15 '19 18:01 placer14

FYI, we introduced a code pattern to begin reigning this problem in on the server side.

@placer14 If you mean the code to handle the bug where no currency code is given, that's a different issue. This is if the server provides a code the client doesn't know how to handle, for example if a rogue node somewhere adds a new coin.

jjeffryes avatar Jan 15 '19 21:01 jjeffryes