Third report of a blank card, and the root cause was never a missing field — it was two code paths producing "the same" object. build-field-cards.mjs copied groupAt()'s 39 fields by hand and missed door43, which exists only in that normalizer, so the sheet's `!selectedGroup.door43.length` threw on undefined. I fixed a value, then a timing, then would have added door43 and waited for the fourth. The shard now ships the RAW INPUTS the map itself holds — the pin row, the whole code record, the country name and the two bridge records — and the leaf's groupFrom() normalizes both paths. groupAt(i) is a three-line wrapper over it. A field added to the sheet reaches the card with no second edit, and forgetting one is no longer possible. The code record is passed WHOLE rather than picked over, because picking fields is exactly the mistake above. Shards got smaller doing it: mean 8.0 KB against 9.1. Two sheet-level sources the card fetches nothing for are seeded from the shard: the prayer page (prayIndex) and the SUN block. Both matter most to this persona — a catalyst with a Deaf group, or one handing someone a prayer page — and both were silently absent while the card "worked". Verified statically, since I cannot render: every one of the 28 fields the sheet reads off selectedGroup is produced by groupFrom, so the two paths cannot disagree about any of them. rega has the render.
1 line
5.3 KiB
JSON
1 line
5.3 KiB
JSON
{"bamcha":{"row":["Bamcha",22.256314,71.191286,"IND","guj",5700,2,"bamcha"],"c":{"d":[{"s":"Open Bible Stories","u":"https://git.door43.org/Door43-Catalog/gu_obs"},{"s":"Bible (Door43-Catalog)","u":"https://git.door43.org/Door43-Catalog/gu_udb","sc":"New Testament"},{"s":"Bible (Door43-Catalog)","u":"https://git.door43.org/Door43-Catalog/gu_ulb","sc":"Full Bible"},{"s":"Aligned Bible (translationCore-Create-BCS)","u":"https://git.door43.org/translationCore-Create-BCS/gu_gst","sc":"Portions of both Testaments"},{"s":"Aligned Bible (translationCore-Create-BCS)","u":"https://git.door43.org/translationCore-Create-BCS/gu_glt","sc":"Portions of both Testaments"},{"s":"Aligned Bible (Door43-Catalog)","u":"https://git.door43.org/Door43-Catalog/gu_irv","sc":"New Testament"},{"s":"Aligned Bible (translationCore-Create-BCS)","u":"https://git.door43.org/translationCore-Create-BCS/gu_irv","sc":"Full Bible"}],"l":"Gujarati","s":"https://ebible.org/guj2009/","sv":"Gujarati Bible","sf":0,"ss":"Portions of both Testaments","f":"https://jesusfilm.org/watch/jesus/gujarati","a":1,"ck":"arclight, door43, ebible, fcbh, scriptureearth","un":"api_bible, dbl, progress_bible, youversion, grn (not yet swept)","z":"https://zume.training/gu","au":{"u":"https://live.bible.is/bible/GUJDPI","n":"Indian Revised Version","ln":"Gujarati","m":"audio, text"},"bv":{"u":"https://live.bible.is/bible/GUJCOV","n":"Gujarati - Covenant","sc":"12 parts, Intro & Garden of Eden to After the Forty Years / End Credits"},"gp":{"u":"https://knowgod.com/gu/fourlaws","n":"Four Spiritual Laws"},"cr":{"o":"World Bible Translation Center","y":"1997","u":"https://www.bibleleague.org/","g":"bible-league"}},"country":"India","bridge":null,"bridge_candidate":null,"pray_url":"https://pray.doxa.life/bamcha?source=doxalife","_cardRes":{"bridge":null,"candidate":null,"alt":null},"sun":null},"deaf-kuwaitis":{"row":["Deaf Kuwaitis",29.313351,48.070326,"KWT","qkw",12000,0,"deaf-kuwaitis"],"c":{"l":"Kuwaiti Sign Language","ck":"arclight (14 sign languages, all captured), fcbh (none)","un":"deaf_bible_society, door_international — both key-gated","sg":1},"country":"Kuwait","bridge":null,"bridge_candidate":null,"pray_url":"https://pray.doxa.life/deaf-kuwaitis?source=doxalife","_cardRes":{"bridge":null,"candidate":null,"alt":null},"sun":{"u":"https://sun.bible/sun/NewTestament","t":"SUN New Testament"}},"siripu":{"row":["Siripu",5.771994,-70.053978,"COL","cui",70,1,"siripu"],"c":{"l":"Cuiba","s":"https://ebible.org/cui/","sv":"Cuiba NT","sf":0,"ss":"New Testament","a":1,"ck":"arclight, door43, ebible, fcbh, scriptureearth","un":"api_bible, dbl, progress_bible, youversion, grn (not yet swept)","au":{"u":"https://live.bible.is/bible/CUIWBT","n":"1987 Wycliffe Bible Translators, Inc","ln":"Cuiba","m":"audio, text, video","vsc":"27 parts, Mt to Ap"},"se":{"u":"https://scriptureearth.org/data/cui/","k":["PDF","sab","study","viewer"]},"cr":{"o":"Wycliffe Bible Translators, Inc","y":"2010","u":"https://www.wycliffe.org/","g":"wycliffe"}},"country":"Colombia","bridge":null,"bridge_candidate":null,"pray_url":"https://pray.doxa.life/siripu?source=doxalife","_cardRes":{"bridge":null,"candidate":null,"alt":null},"sun":null},"vyapari":{"row":["Vyapari",23.123638,72.052742,"IND","urd",1000,2,"vyapari"],"c":{"d":[{"s":"Open Bible Stories (Door43-Catalog)","u":"https://git.door43.org/Door43-Catalog/ur_obs"},{"s":"Open Bible Stories (Door43-Catalog)","u":"https://git.door43.org/Door43-Catalog/ur-deva_obs"},{"s":"Bible","u":"https://git.door43.org/Door43-Catalog/ur-deva_ulb","sc":"Full Bible"},{"s":"Aligned Bible","u":"https://git.door43.org/Door43-Catalog/ur-deva_irv","sc":"Full Bible"}],"l":"Urdu","s":"https://ebible.org/urd/","sv":"Urdu IRV Bible","sf":1,"ss":"Full Bible","f":"https://jesusfilm.org/watch/jesus/urdu","a":1,"ck":"arclight, door43, ebible, fcbh, scriptureearth","un":"api_bible, dbl, progress_bible, youversion, grn (not yet swept)","z":"https://zume.training/ur","au":{"u":"https://live.bible.is/bible/URDIRV","n":"Indian Revised Version","ln":"Urdu, India","m":"audio, text"},"bv":{"u":"https://live.bible.is/bible/URDLFP","n":"Revised Urdu Holy Bible","sc":"Acts"},"gp":{"u":"https://knowgod.com/ur/kgp","n":"Knowing God Personally"},"cr":{"o":"Bridge Connectivity Solutions Pvt. Ltd","y":"2019","u":"https://www.bridgeconn.com/","g":"bridgeconn"}},"country":"India","bridge":null,"bridge_candidate":null,"pray_url":"https://pray.doxa.life/vyapari?source=doxalife","_cardRes":{"bridge":null,"candidate":null,"alt":null},"sun":null},"yanghuang":{"row":["Yanghuang",25.67173,107.30906,"CHN","tct",63000,0,"yanghuang"],"c":{"l":"T’en","ck":"arclight, door43, ebible, fcbh, grn, scriptureearth","un":"api_bible, dbl, progress_bible, youversion"},"country":"People's Republic of China","bridge":{"l":"Chinese, Mandarin","c":"cmn","st":"strong","n":25,"s":true,"f":true},"bridge_candidate":null,"pray_url":"https://pray.doxa.life/yanghuang?source=doxalife","_cardRes":{"bridge":{"iso":"cmn","language":"Chinese, Mandarin","credit":{"o":"World Bible Translation Center","y":"2004","u":"https://www.bibleleague.org/","g":"bible-league"},"scripture_url":"https://ebible.org/cmn2006/","scripture_title":"Chinese (simplified) Easy Reading Version","film_url":"https://jesusfilm.org/watch/jesus/mandarin-taiwan","film_title":"","zume_url":"https://zume.training/zhcn"},"candidate":null,"alt":null},"sun":null}}
|