We got a crash report from internal beta and I was unable to reproduce it from the UI. The issue is mostly clear, so I am filling the below info by reproducing it by altering the code:
Expected behavior
Viewing posts list shows the proper screen.
Actual behavior
Posts list crashes upon viewing the screen
Steps to reproduce the behavior
In order to reproduce the crash, the call to one of the posts endpoint need to return the json with missing author object. I am not sure in which case this happens. The app basically crashes when it parses the json. Example endpoint: https://developer.wordpress.com/docs/api/1.1/get/sites/%24site/posts/
Here is the crash logs (stack trace cut short to keep it brief):
Application Specific Information:
*\ Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull objectForKeyedSubscript:]: unrecognized selector sent to instance 0x1a1dfc490'
We got a crash report from internal beta and I was unable to reproduce it from the UI. The issue is mostly clear, so I am filling the below info by reproducing it by altering the code:
Expected behavior
Viewing posts list shows the proper screen.
Actual behavior
Posts list crashes upon viewing the screen
Steps to reproduce the behavior
In order to reproduce the crash, the call to one of the
posts
endpoint need to return the json with missingauthor
object. I am not sure in which case this happens. The app basically crashes when it parses the json. Example endpoint: https://developer.wordpress.com/docs/api/1.1/get/sites/%24site/posts/Here is the crash logs (stack trace cut short to keep it brief):