🛠️ Bug Fixes and Improvements
This article outlines recent bug fixes and improvements that address known issues affecting course validation, rule-saving functionality, and SDR reporting accuracy.
✅ Completion Rules Save Button Error
Issue:
Users encountered a JavaScript error when attempting to save completion rules. The system displayed an error message stating "Toast Not Defined"
, and the save operation failed.
Resolution:
The issue was caused by a missing or incorrectly referenced toast notification module. The functionality has now been fully restored:
- The Save button properly processes the form submission.
- A toast popup confirmation message is displayed to confirm successful saving of the rule.
📅 Course Date Validation Logic
Issue:
Course start and end dates were previously validated against the current system date. This led to confusion, especially when users were planning courses relative to extraction periods.
Resolution:
The validation logic has been updated:
- Course start and end dates are now validated against the extraction end date instead of the current date.
- This change provides more accurate validation feedback aligned with reporting needs and reduces user confusion.
📊 SDR Reporting for Withdrawn ITR Enrolments
Issue:
A bug introduced in a recent SDR release prevented some withdrawn ITR enrolments with funding source 11 from being correctly reported in SDR. These enrolments were inadvertently excluded when they should have been included.
Resolution:
The bug has been fixed, and original functionality has been restored:
- All withdrawn ITR enrolments that meet the criteria are now properly included in SDR reporting.
- This ensures compliance with reporting standards and funding accountability.
🚫 Exclusion of Provisional Enrolment Components from SDR and EPI Reporting
Issue:
Previously, provisional enrolment components were incorrectly included in SDR and EPI reporting due to the removal of earlier logic during recent SDR updates.
Resolution:
The previous logic has been reinstated. By default:
- Provisional enrolment components are excluded from SDR and EPI reporting.
- When the ‘Include Provisional Enrolments’ filter is selected:
- Only provisional components within provisional enrolments are included.
- Provisional components within other enrolment types are excluded.
This change ensures accurate reporting and aligns with intended system behaviour.
🔧 Status Wizard Doesn’t Complete Enrolled Components
Issue:
When the status wizard is used to complete an enrolment and the Finished and Complete options are selected, the system displayed the success message but did not update the enrolment component’s status from 1 – Still to complete to 2 – Completed Successfully.
Resolution:
The Status Wizard function has been updated to correctly set the values on the enrolment components. Now, when the Finished and Complete options are selected, the enrolment component status will correctly update from Still to complete to Completed Successfully.
If you need additional help or have questions about these fixes, please contact the support team at 09 366 0789 or support@selma.co.nz