{"id":1387,"date":"2020-03-28T14:40:47","date_gmt":"2020-03-28T14:40:47","guid":{"rendered":"https:\/\/wtheiss.com\/wordpress\/?p=1387"},"modified":"2020-03-28T14:40:47","modified_gmt":"2020-03-28T14:40:47","slug":"bugfix-for-corrupted-configuration-files","status":"publish","type":"post","link":"https:\/\/wtheiss.com\/wordpress\/?p=1387","title":{"rendered":"Bugfix for corrupted configuration files"},"content":{"rendered":"<p>Having investigated a case where CODE stopped working after importing an older method, we found that a data field contained numbers marked as NAN (= not a number). Up to now we don&#8217;t know how this situation can arise &#8211; probably it was caused by a failing import of measured data.<\/p>\n<p>The following mechanisms have been implemented to make the software survive this situation (active starting with object generation 5.09):<\/p>\n<ul>\n<li>Directly after loading numbers marked as NAN are replaced by zeroes. This check is done for configurations stored with generations lower than 5.09.<\/li>\n<li>Starting with object generation 5.09, numbers of data fields are checked for NAN status (and replaced by zeroes if necessary)\u00a0before they are saved in a configuration file.<\/li>\n<li>After each import of measured data the relevant data field is checked for NAN status and eventually corrected.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Having investigated a case where CODE stopped working after importing an older method, we found that a data field contained numbers marked as NAN (= not a number). Up to now we don&#8217;t know how this situation can arise &#8211; probably it was caused by a failing import of measured data. The following mechanisms have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,2,23,4,1],"tags":[],"_links":{"self":[{"href":"https:\/\/wtheiss.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1387"}],"collection":[{"href":"https:\/\/wtheiss.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wtheiss.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wtheiss.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wtheiss.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1387"}],"version-history":[{"count":1,"href":"https:\/\/wtheiss.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1387\/revisions"}],"predecessor-version":[{"id":1388,"href":"https:\/\/wtheiss.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1387\/revisions\/1388"}],"wp:attachment":[{"href":"https:\/\/wtheiss.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wtheiss.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wtheiss.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}