You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Searching the database for db.getCollection('courses').find({title:''}) yields 42 courses with empty titles. At least some of these (such as PHI 304 and ART 344) do have titles in the Registrar's courses web feed (see PHI 304 and ART 344 in the web feed).
These courses should have titles. It's probably some bizarre bug with importBasicCourseDetails.js.
The text was updated successfully, but these errors were encountered:
This appears to be a bug with the data feed provided by OIT/the Registrar.
Princeton Courses receives course title information from asking web feed for all the data about all the courses in all subjects across all semester (a request to /courseofferings/?subject=all&term=all). This returns a 14 MB JSON file for which some of the courses lack titles. For example, ARC 517 in both terms 1152 and 1162 have title: "" (you can jump to this course in the file be searching for the phrase "advanced pro-seminar").
However, if you narrow the search criteria to just return ARC courses from all semesters (a request to /courseofferings/?subject=ARC&term=all, then the title correctly displays in the results as "Research in Architecture".
This currently only impacts only 0.5% (5 courses) of all the courses offered in Fall 2017, so I think think we should reach out to OIT and ask for help in resolving this bug with their system.
For reference, these are the unique IDs of the affected courses:
Searching the database for
db.getCollection('courses').find({title:''})
yields 42 courses with empty titles. At least some of these (such as PHI 304 and ART 344) do have titles in the Registrar's courses web feed (see PHI 304 and ART 344 in the web feed).These courses should have titles. It's probably some bizarre bug with
importBasicCourseDetails.js
.The text was updated successfully, but these errors were encountered: