xowf::test_item::grading::flush_grading_schemes (private)

 xowf::test_item::grading::flush_grading_schemes -package_id package_id \
    -parent_id parent_id

Defined in packages/xowf/tcl/grading-procs.tcl

Helper to hide the implementation details of the flushed cache. For now, we flush all grading schemes, but probably it would be sufficient to flush just a subset. The tricky part is that the grading objects are loaded potentially from the foll search hierarchy, starting with the local folder, reaching to the global objects. So, if anything is changed there, we would not notice immediately. Therefore, the passed-in package_id and parent_id are not used currently. This function is called, whenever a grading scheme is edited.

Switches:
-package_id
(required)
-parent_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
[ show source ]
Show another procedure: