Project

General

Profile

Bug #7078

Eradicate "student_publication" term

Added by Yannick Warnier about 7 years ago. Updated about 5 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Database & API changes
Target version:
Start date:
11/04/2014
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

The "student publication" term is confusing for many people (it is also called assigment or work, or even task)
For one, it is very centered on the european (I would even say North-European) university academic level.
For seconds, it inspires something the student would like to "publish", which is not the case as it is clearly meant mostly for the teacher (even in university levels).

We currently have 4 terms:
  • student_publication -> to be killed
  • assignments -> to be killed (it is "ok" but the term infers something that is assigned to someone in particular, while a task is generally for a whole class)
  • work -> short, clear and portable (also used as the tool's directory)
  • tasks -> could also be used as an alternative to work, but work is OK and we have to decide on something

The first task here is to rename the "student_publication" table (and all related fields) to "work", to have a unique naming convention.

The second task is to go through the code and modify all references (including constants)

History

#1

Updated by Andre Boivin about 5 years ago

Tu as bien raison de vouloir remplacer student_publication par work, sur la version 1.9.10 ça cause un fonctionnement erratique de l'apparition ou non de l'icone qui indique un changement dans le dossier travaux pour les élèves ou inversement, pour aviser l'enseignant que l'élève a soumis un travail. J'ai contourné le problème avec une modif dans main/inc/lib/events.lib.php line 164:
if ($tool == 'student_publication') {
$tool ='work';
}

Ensuite:
UPDATE track_e_access SET access_tool = REPLACE
where access_tool = 'student_publication'

UPDATE track_e_lastaccess SET access_tool = REPLACE
where access_tool = 'student_publication'

Also available in: Atom PDF