nudj / nudj-ios

Nudj - iOS App (Archive)
0 stars 0 forks source link

App crashes when click interested. #123

Closed RobynMcG closed 8 years ago

RobynMcG commented 8 years ago

To recreate.

User 4 clicked interested on job no. 32 to that I nudj'd her. App crashed when she clicked interested.

Checked the desk and it has not logged that there was an application.

richardbuckle commented 8 years ago

Crash log on HockeyApp: https://rink.hockeyapp.net/manage/apps/256440/app_versions/61/crashes/6299901571

richardbuckle commented 8 years ago

Reproduced, finally. It happens when you take an indirect route to the job detail view, such as via a chat detail view's menu. In those cases the current user is not being configured on the job detail view controller, which is a programmer error.

I need to rework the API so that this becomes a compile time error, then fix.

richardbuckle commented 8 years ago

Fixed for build 68

richardbuckle commented 8 years ago

Worth noting that this crash was dependent on the exact path taken to reach the job details view, hence my earlier failure to reproduce it.

Lesson learned: it's always worth recording as much detail about the path taken as possible!

shtukas commented 8 years ago

Lesson learned for me: avoid frameworks or architectures where the path matters.

RobynMcG commented 8 years ago

That one is working :-)