lostcarpark / conclar

ConClár Programme Guide in ReactJS
MIT License
11 stars 12 forks source link

Documentation for schedule data missing "name" field #140

Open tjoneslo opened 1 year ago

tjoneslo commented 1 year ago

https://github.com/lostcarpark/conclar/blob/main/docs/conclar_file_specs.md#new-style---not-konopas-compatible

In the documentation for the Program object required for the "new style" there is no requirement for a "name" field. There is one listed for the Konopas version. So when I slavishly copied the data format to get the data from our convention schedule (using Planorama), I didn't have the people.name field.

When I tried to load the schedule it failed with a missing attribute pointing to this line of code.

https://github.com/lostcarpark/conclar/blob/main/src/ProgramData.js#L127

By adding a blank name field of to people structure, the data all loaded successfully and everything worked perfectly.