{"id":1502,"date":"2018-03-11T18:55:29","date_gmt":"2018-03-11T18:55:29","guid":{"rendered":"https:\/\/rowewp.mydrobo.com\/?p=1502"},"modified":"2022-12-15T06:46:19","modified_gmt":"2022-12-15T11:46:19","slug":"one-crash-down-two-to-go","status":"publish","type":"post","link":"https:\/\/michaelrowe01.com\/index.php\/personal-softwareandit\/one-crash-down-two-to-go\/","title":{"rendered":"One Crash Down &#8211; Two To Go"},"content":{"rendered":"<p>Well, I finally figured out what is going on with one of my crashes.. and can now allow people to delete Recipients with no cards sent.<\/p>\n<p>Years ago a friend told me a story about someone interviewing for a job as a database programmer. &nbsp;The interviewer asked them how they would handle a programming request to delete an open accounts receivable account. &nbsp;The interviewee stated they would pop up a window asking &#8220;Are you sure?&#8221; &nbsp;The interviewer repeated the question saying, &#8220;what if they hit &#8216;Yes&#8217;?&#8221;. &nbsp;The interviewee stated they would pop up another window asking &#8220;Are you sure?&#8221; &nbsp;At which point there interviewer said, &#8220;what if they said yes, to every &#8216;Are you Sure&#8217; window you could pop up?&#8221; &nbsp;At this point the interviewee said, &#8220;I would pop up a window asking for their banking information, so we could charge their account to cover the amount in the receivable account.&#8221; &nbsp;At this point the interviewer stated, &#8220;Yes, you understand referential integrity&#8221;.<\/p>\n<p>This appears to be what Core Data is telling me in my crash. &nbsp;But I can&#8217;t figure out why my delete is not replicating down to all the events, and deleting them. &nbsp;So my next approach is trying to delete the events, one at a time in the list events view. &nbsp;Unfortunately, this is crashing too.. so more to learn here&#8230; but progress&#8230; As soon as I can fix both of these crashes, I plan on creating a view to show the details of an existing event.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, I finally figured out what is going on with one of my crashes.. and can now allow people to delete Recipients with no cards sent. Years ago a friend told me a story about someone interviewing for a job as a database programmer. &nbsp;The interviewer asked them how they would handle a programming request [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"hide_page_title":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[97,100,284,326,327],"class_list":["post-1502","post","type-post","status-publish","format-standard","hentry","category-personal-softwareandit","tag-core-data","tag-crash","tag-new-app","tag-programming","tag-progress"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2aMa8-oe","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/posts\/1502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/comments?post=1502"}],"version-history":[{"count":1,"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/posts\/1502\/revisions"}],"predecessor-version":[{"id":2440,"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/posts\/1502\/revisions\/2440"}],"wp:attachment":[{"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/media?parent=1502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/categories?post=1502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/tags?post=1502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}