{"id":2254,"date":"2017-08-23T23:52:17","date_gmt":"2017-08-23T23:52:17","guid":{"rendered":"http:\/\/thunderofwade.com\/blog\/?p=2254"},"modified":"2017-08-23T23:52:17","modified_gmt":"2017-08-23T23:52:17","slug":"if-batman-was-a-nerd","status":"publish","type":"post","link":"https:\/\/thunderofwade.com\/blog\/2017\/08\/23\/if-batman-was-a-nerd\/","title":{"rendered":"if batman was a nerd"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">This is intensely nerdy, but I\u2019ll try to translate.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A few days ago, I got asked to update a link on one of our pages for the new graduate course bulletin. The link was on a code-heavy page in two parts that listed the details of our graduate programs. \u00a0The page changes depending on what link the user clicks on the page before. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">The change was easy &#8211; I\u2019m all about updating links &#8211; but something went wrong. The link fixed easy and the re-publish of the page was smooth &#8211; though the system insisted that I re-publish the other section on the page even though I hadn\u2019t touched it.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">And then it broke. \u00a0Instead of the information about the page, it was a mess of code dumped out on the page. \u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">We had a problem.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">I tried to revert the stuff I had changed and the link went back &#8211; but it was still broke.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">So, we tried to look at the same page in our test (DEV) environment. \u00a0And the page &#8211; both parts &#8211; was exactly the same as Production. \u00a0Except, it worked.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">It was like \u00a01 + 1 = pickle. \u00a0\u00a0Everything was the same, except one worked and one didn\u2019t.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The whole team got in on this and we brainstormed so hard there were clouds in my office.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The users were starting to call about the broken-ness and our support with the vendor was going nowhere. \u00a0And then I had a thought.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">I dug into the history of the part of the page I hadn\u2019t touched &#8211; but the system had insisted I republish too &#8211; and found the problem.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">My former co-worker had last worked on this years ago and his entry was in the system as an editor. \u00a0However, <em>after that<\/em> was an entry from a prior student assistant that had worked for us. \u00a0He had looked at the page, switched modes from code to WYSIWYG (what you see is what you get. \u00a0Yes, that\u2019s what it stands for), which broke the page. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">But, he didn\u2019t publish it so it never went live. \u00a0And no one else worked on that page. \u00a0And so we sat on a freaking time bomb that lasted right up until I re-published that page and broke everything. \u00a0And that was after a clone of the entire system and database and at least 2 upgrades<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Dammit, Joey! \u00a0\ud83d\ude42<\/span><\/p>\n<p><span style=\"font-weight: 400;\">And all the code looked the same between instances since it was really broken. \u00a0Just, waiting.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">I broke this the rest of the way in DEV as a test, then reverted it back to the last good version. \u00a0The page broke as we expected and then came right back. \u00a0I did the same thing in Production and then rang the Victory Bell (\u2122) like a boss cause it was all good.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">It was exactly what Batman would have done. \u00a0Or, maybe, Oracle.\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is intensely nerdy, but I\u2019ll try to translate. A few days ago, I got asked to update a link on one of our pages for the new graduate course bulletin. The link was on a code-heavy page in two parts that listed the details of our graduate programs. \u00a0The page changes depending on what [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_bluesky_dont_syndicate":"","_bluesky_syndication_accounts":"","_bluesky_syndication_text":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-2254","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/thunderofwade.com\/blog\/wp-json\/wp\/v2\/posts\/2254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thunderofwade.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thunderofwade.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thunderofwade.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thunderofwade.com\/blog\/wp-json\/wp\/v2\/comments?post=2254"}],"version-history":[{"count":1,"href":"https:\/\/thunderofwade.com\/blog\/wp-json\/wp\/v2\/posts\/2254\/revisions"}],"predecessor-version":[{"id":2255,"href":"https:\/\/thunderofwade.com\/blog\/wp-json\/wp\/v2\/posts\/2254\/revisions\/2255"}],"wp:attachment":[{"href":"https:\/\/thunderofwade.com\/blog\/wp-json\/wp\/v2\/media?parent=2254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thunderofwade.com\/blog\/wp-json\/wp\/v2\/categories?post=2254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thunderofwade.com\/blog\/wp-json\/wp\/v2\/tags?post=2254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}