Closed davidpmccormick closed 2 months ago
Size Change: +4 B (0%)
Total Size: 958 kB
Filename | Size | Change | |
---|---|---|---|
content/webapp/.next/static/chunks/3615-c9a24940d6b7f093.js |
0 B | -6.85 kB (removed) | đ |
content/webapp/.next/static/chunks/webpack-8747f3e7362c205e.js |
0 B | -2.21 kB (removed) | đ |
content/webapp/.next/static/chunks/3615-46d8ff08519d5125.js |
6.85 kB | +6.85 kB (new file) | đ |
content/webapp/.next/static/chunks/webpack-4bf9fa650aa1a43f.js |
2.21 kB | +2.21 kB (new file) | đ |
Did they use to come back as empty arrays when undefined, maybe?
from what I can tell, there are four things in a content list on the page that's breaking. Two of them are links to other pages, and two of them are events. The events have an interpretations
array, because that is a property of an event. The pages don't because we don't have interpretations for pages, but seems like they're being run through transformEvent
Do we want to close this @davidpmccormick ?
This fixes an error we're seeing on the Schools page where events listed are expected to have an
interpretations
array, but don't.I'm not happy that this is the final fix because it doesn't explain how this was working before (is there now interpretation data that is missing?)
But it stops the page 500ing.