Closed fenuks closed 3 hours ago
Indeed, you're right, I fixed this behavior in FeverItemsAdapter
, but not in FeverFeedsAdapter
, thanks for reporting! A fix will be available in the next version.
Fixed in d2dff633e1a2d68b6882b83762db9beff550d336.
Thank you for the quick fix!
Are you certain that this will work for any order of fields? I don't know how exactly Reader works, but it seems to me that now parser expects that feeds
field goes first, then feed_groups
– so order still matters, just differently. When I moved feed_groups
before feeds
in api/src/test/resources/services/fever/feeds.json
, parsing test failed.
Describe the bug yarr is a server with fever API support. Its fever implementation seems to be correct, and it works with NewsFlash and Read You.
Trying to fetch/refresh feeds yields
JsonDataException
with messageExpected BEGIN_ARRAY but was NUMBER at path $.last_refreshed_on_time
. As I understand, assumption that the first three fields of the feeds response areapi_version
,auth
,last_refreshed
made here is incorrect. In general, assuming any order doesn't seem like a good idea. In case of yarr, field order is different:To Reproduce Steps to reproduce the behaviour:
http://my_ip:7070/fever/
), by default auth is not enabled, so any login/password combination will workEnvironment information (please complete the following information):