Skip to content

BUG: /book/role page (aka, Affiliation) skipped entirely during request flow resulting in a failed submission and error message: "Sorry, an error occurred while submitting this request. Missing required fields:" #1207

@nopivnick

Description

@nopivnick

user's account:

I am having difficulty making a booking for the Black Box using the Booking site for Weds 2/18 in the afternoon.

While I've filled out all available fields in the form, (which normally has a field for the Role & Department affiliation), in which - formerly I entered the name of my Thesis Advisor - that field no longer exists.

As a result, I am receiving error messages when trying to book that room for Feb 18th for my Formal 2nd Year Grad Student Protype 2 Thesis review. The error message reads

"Sorry, an error occurred while submitting this request. Missing required fields: role, department (from context), valid department selection, affiliation (role + department)"

I can confirm that when the user (a student) attempted to book, the Affiliation page was skipped entirely which likely led to the missing information (school, department, role) that would otherwise have 1. required the Sponsor fields in the form and 2. allowed the submission to succeed.

the corresponding console log message is:

❌ SUBMISSION BLOCKED - Missing required fields: Object

@n3xta

this is unexpected behavior I've never seen before, probably introduced by your recent PR #1190.

@rlho

can you think of any reason why the User request flow would skip the Affiliation page, perhaps based on a response (or lack there of) from the NYU Identity API?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions