Is there any reason why department keys are derived from department names? I have a situation in which department names can be duplicated and thus department_key has a conflict. I could make up my own keys and insert them directly into the dotlrn_departments table, but I wanted to check wether this was something that needs to be fixed globally.
From /packages/dotlrn/tcl/dotlrn-security-procs.tcl in generate_key
Generate a key from a name. Compresses all adjacent non-alphanum chars to a dash. Yes, this is not unique, grows rapidly, will need collision detection and resolution, yada yada.
Any coments on this? What would be a good way to generate keys?
Regards,
-Oscar