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
{"arayavati":{"row":["Arayavati",9.497717,76.338467,"IND","mal",1200,2,"arayavati"],"c":{"d":[{"s":"Open Bible Stories (Door43-Catalog)","u":"https://git.door43.org/Door43-Catalog/ml_obs"},{"s":"Open Bible Stories (OBS-TLF)","u":"https://git.door43.org/OBS-TLF/ml_obs"},{"s":"Bible (Door43-Catalog)","u":"https://git.door43.org/Door43-Catalog/ml_ulb","sc":"Full Bible"},{"s":"Bible (Door43-Catalog)","u":"https://git.door43.org/Door43-Catalog/ml_iev","sc":"New Testament"},{"s":"Aligned Bible","u":"https://git.door43.org/Door43-Catalog/ml_irv","sc":"Full Bible"}],"l":"Malayalam","s":"https://ebible.org/mal/","sv":"Malayalam Indian Revised Version Bible","sf":1,"ss":"Full Bible","f":"https://jesusfilm.org/watch/jesus/malayalam","a":1,"ck":"arclight, door43, ebible, fcbh, scriptureearth","un":"api_bible, dbl, progress_bible, youversion, grn (not yet swept)","z":"https://zume.training/ml","au":{"u":"https://live.bible.is/bible/MALBCM","n":"Malayalam Bible 1910 - Revised and in Contemporary Orthography","ln":"Malayalam","m":"audio, text"},"bv":{"u":"https://live.bible.is/bible/MALLFP","n":"Malayalam - Malayalam Contemporary Version","sc":"Acts"},"gp":{"u":"https://knowgod.com/ml/fourlaws","n":"Four Spiritual Laws"},"cr":{"o":"Bridge Communication Systems","y":"2017","u":"https://www.bridgeconn.com/","g":"bridgeconn"}},"country":"India","bridge":null,"bridge_candidate":null,"pray_url":"https://pray.doxa.life/arayavati?source=doxalife","_cardRes":{"bridge":null,"candidate":null,"alt":null},"sun":null},"hupdah":{"row":["Hupdah",0.77,-69.6588,"COL","jup",300,1,"hupdah"],"c":{"l":"Hupdë","ck":"arclight, door43, ebible, fcbh, grn, scriptureearth","un":"api_bible, dbl, progress_bible, youversion","ga":{"u":"https://fivefish.org/jup","n":"Hup"}},"country":"Colombia","bridge":null,"bridge_candidate":null,"pray_url":"https://pray.doxa.life/hupdah?source=doxalife","_cardRes":{"bridge":null,"candidate":null,"alt":null},"sun":null},"phongku":{"row":["Phongku",21.430669,102.20432,"LAO","pho",1800,0,"phongku"],"c":{"l":"Phunoi","ck":"arclight, door43, ebible, fcbh, grn, scriptureearth","un":"api_bible, dbl, progress_bible, youversion"},"country":"Lao People's Democratic Republic","bridge":{"l":"Akha","c":"ahk","st":"strong","n":12,"s":true,"f":true},"bridge_candidate":null,"pray_url":"https://pray.doxa.life/phongku?source=doxalife","_cardRes":{"bridge":{"iso":"ahk","language":"Akha","credit":null,"scripture_url":"https://live.bible.is/bible/AHKTBS","scripture_title":"2001 Thailand Bible Society","film_url":"https://jesusfilm.org/watch/jesus/akha","film_title":"","zume_url":""},"candidate":null,"alt":null},"sun":null},"pubiao":{"row":["Pubiao",23.221616,104.804141,"CHN","cmn",425,2,"pubiao"],"c":{"l":"Chinese, Mandarin","s":"https://ebible.org/cmn2006/","sv":"Chinese (simplified) Easy Reading Version","sf":1,"ss":"Full Bible","f":"https://jesusfilm.org/watch/jesus/mandarin-taiwan","a":1,"ck":"arclight, door43, ebible, fcbh, scriptureearth","un":"api_bible, dbl, progress_bible, youversion, grn (not yet swept)","z":"https://zume.training/zhcn","au":{"u":"https://live.bible.is/bible/CMNTEM","n":"Chinese Contemporary Bible (圣经当代译本修订版)","ln":"Chinese, Mandarin","m":"audio, text"},"bv":{"u":"https://live.bible.is/bible/CMNCOV","n":"Chinese, Mandarin - Covenant","sc":"12 parts, Intro & Garden of Eden to After the Forty Years / End Credits"},"se":{"u":"https://scriptureearth.org/data/cmn/","k":["PDF"]},"cr":{"o":"World Bible Translation Center","y":"2004","u":"https://www.bibleleague.org/","g":"bible-league"}},"country":"People's Republic of China","bridge":null,"bridge_candidate":null,"pray_url":"https://pray.doxa.life/pubiao?source=doxalife","_cardRes":{"bridge":null,"candidate":null,"alt":null},"sun":null},"sanghar":{"row":["Sanghar",18.5368,73.8877,"IND","mar",47000,2,"sanghar"],"c":{"d":[{"s":"Open Bible Stories","u":"https://git.door43.org/Door43-Catalog/mr_obs"},{"s":"Bible (Door43-Catalog)","u":"https://git.door43.org/Door43-Catalog/mr_ulb","sc":"Full Bible"},{"s":"Bible (Door43-Catalog)","u":"https://git.door43.org/Door43-Catalog/mr_udb","sc":"New Testament"},{"s":"Aligned Bible (translationCore-Create-BCS)","u":"https://git.door43.org/translationCore-Create-BCS/mr_gst","sc":"Portions of both Testaments"},{"s":"Aligned Bible (translationCore-Create-BCS)","u":"https://git.door43.org/translationCore-Create-BCS/mr_glt","sc":"Portions of both Testaments"},{"s":"Aligned Bible (Door43-Catalog)","u":"https://git.door43.org/Door43-Catalog/mr_irv","sc":"New Testament"}],"l":"Marathi","s":"https://ebible.org/mar/","sv":"Marathi Indian Revised Version Bible","sf":1,"ss":"Full Bible","f":"https://jesusfilm.org/watch/jesus/marathi","a":1,"ck":"arclight, door43, ebible, fcbh, scriptureearth","un":"api_bible, dbl, progress_bible, youversion, grn (not yet swept)","z":"https://zume.training/mr","au":{"u":"https://live.bible.is/bible/MARDPI","n":"Indian Revised Version","ln":"Marathi","m":"audio, text"},"bv":{"u":"https://live.bible.is/bible/MARLFP","n":"Marathi Contemporary Version","sc":"Acts"},"gp":{"u":"https://knowgod.com/mr/kgp","n":"Knowing God Personally"},"cr":{"o":"Bridge Connectivity Solutions","y":"2017","u":"https://www.bridgeconn.com/","g":"bridgeconn"}},"country":"India","bridge":null,"bridge_candidate":null,"pray_url":"https://pray.doxa.life/sanghar?source=doxalife","_cardRes":{"bridge":null,"candidate":null,"alt":null},"sun":null}}
|