Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point table initialisation for manually added student #10

Open
jprk opened this issue Apr 22, 2015 · 0 comments
Open

Point table initialisation for manually added student #10

jprk opened this issue Apr 22, 2015 · 0 comments

Comments

@jprk
Copy link
Owner

jprk commented Apr 22, 2015

There seems to be an error in the initialisation of the points table when adding a new student. By default we assume that after enrolling a new student into the system the corresponding entries in the points table are automatically created and set to PTS_NOT_CLASSIFIED. This works for batch imports -- it is implemented in ImportBean.class.php, method doSave() --, but it is however not true for students who are created and enrolled manually.

The issue affects also evaluation of home works: If a student submits a solution (PDF, ZIP file) to a subtask and the points for the subtask are not initialised, she/he is not displayed in the list of submitted home works.

We have two separate issues here:

  1. the logic responsible for enrolling a student shall automatically handle the initialisation of points table
  2. when creating or deleting a subtask, the points table shall be also altered accordingly.

Affected methods: only ImportBean::doSave() and StudentBean::doSave(), probably.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant