Forums | Mahara Community
Support
/
Smart Evidence Framework - saving an annotation does not save as evidence
15 May 2026, 21:18
We have noticed that a small number of claims for a Smart Evidence Framework (SEF) evidence via adding an annotation has not created a record in the framework evidence table but does create a record in the block_instance table with a block type of annotation. The result is that a student has made a claim for a standard but the matrix page does not highlight that the page needs to be reviewed.
I can see multiple examples in the database for a SEF that is being assessed currently.
This is on our Live site which is currently running 25.04.
I can't replicate the issue, so it may be that the user has missed something in the annotation when saving. Are there any specific logs that are written that log the creation of the evidence? There appear to be some checks in the "instance_config_validate" function in artefact>annotation>blocktype>annotation?lib.php would these be the correct log messages to review?
19 May 2026, 11:06
Hi James,
Unfortunately, instance_config_validate is not the right place to look. It has no log messages, and it does not run in the matrix save path at all.
Check Mahara's general error log around the time the affected blocks were created. Look for SQLException or ParamOutOfRangeException from save_evidence_in_block() or save_evidence(). If the log is clean at those timestamps, smartevidence was simply not present in the form submission when those students saved, which is the likely cause.
You could try and find them via these queries. If your site is not in English, you'll need to change the query to match what 'Annotation' is in your site's language.
I realise this fix the root cause as that needs proper investigating but I hope it helps connect some annotations as evidence,
Doris
21 May 2026, 23:01
Hi Doris,
Thanks for the reply, that was very helpful. Working with the academics who raised the issue we think the issue may be due to students copying pages with annotations on. We are continuing to investigate.
Thanks
James