When accessing the "issue" resource using the web API, the "issue_number" field is now empty when the comic book in question has an issue number of zero. For example (insert your own api key):
http://www.comicvine.com/api/issue/201543/?api_key=XXX&format=xml&field_list=issue_number
Note that the issue number is: <issue_number/>
This makes it look like no issue number has been entered.
Instead, it should be (and used to be): <issue_number>0</issue_number>
(Wild guess: is your backend coded in python? If so, maybe there's a bug somewhere where someone is testing if x is None by doing "if not x then..." and they've forgotten that this expression will evaluate to true if x is None OR if x is 0...)
Log in to comment