Skip to content

Conversation

@matthewhilton
Copy link
Contributor

2 somewhat related CSV upload changes:
Closes #269
Closes #270

Changes

  1. Improve docs and handling of optional headers. I believe before they were optional in the sense that the headers must be there, but the values could be empty. Now, you don't need to include the column at all.
  2. Be able to book directly into an attendance status.
    1. Updated lang string to explain all allowed statuses (we don't handle some e.g. cancelled)
    2. Added some notes/caveats to help lang string
    3. Updated tests to match

Testing
This is covered by new unit tests

@matthewhilton matthewhilton self-assigned this Nov 11, 2025
@matthewhilton matthewhilton marked this pull request as ready for review November 13, 2025 01:09
@matthewhilton matthewhilton force-pushed the 269-upload-handle-headers branch from 386fe6e to 293f283 Compare December 1, 2025 05:31
@matthewhilton matthewhilton force-pushed the 269-upload-handle-headers branch from 293f283 to e54805c Compare December 15, 2025 05:15
@keevan
Copy link
Contributor

keevan commented Dec 18, 2025

Looks good to me. Merging.

@keevan keevan merged commit 090f87f into MOODLE_403_STABLE Dec 18, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow csv upload directly into attendance status CSV upload of bookings without optional columns fails

3 participants