Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Student Numbers as Strings or Numeric Values #2

Open
applebyter opened this issue Mar 14, 2023 · 0 comments
Open

Student Numbers as Strings or Numeric Values #2

applebyter opened this issue Mar 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@applebyter
Copy link
Member

Problem
When adding students to a course enrolment, student numbers must be formatted as text. If they are numeric values the file is reported as being valid but generates an error and does not load the students.

Solution
Revise the file loading code to convert numeric values to strings.

Alternative Solution
Alternatively, revise the parsing code so it does not assume student numbers are strings. Currently it uses the .substring method to extract the student number. (This seems to be a clumsier fix.)

Context
The file generated by Allocate+ with student room allocations is an Excel file that has student numbers formatted as text. The tool loads this file correctly.

If someone generates this file using another approach or converts the Excel file to CSV, the student numbers will be numeric values.

@applebyter applebyter added the enhancement New feature or request label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant