Skip to content

Empty dining hall in menu list #8

Description

@nsaronson

For example, today, 5/19, neither Driscoll nor Grab and Go were contained in the CSV file. If this happens they should be removed from the UIPickerView in Dining Halls.

The error with this is happening in the pickerDataSource variable. This is refreshed when you call self.refreshView(). But notice that this function doesn't get called afterwards.... this is strange.

For some reason, the pickerDataSource is only reloaded once - not that it should be reloaded more often, but in this case, it is being loaded with the incorrect set of labels.

Another bug that has come up with the pickerDataSource places an empty string at the top of the list.

Here is a testing file (from today) that you could use to verify this result.
daily-menu-5:19.csv.zip

In order to test this, you have to add functionality to MenuLoader so that it can read in a local CSV menu.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions