Skip to content

[C2] Assignments seem to use wrong dates #6721

@ywarnier

Description

@ywarnier

Currently in C2, if I create an assignment as a teacher and set:

  • Expiry date: 01/09/2025 (whatever time, we don't care for this issue)
  • End date: 05/09/2025

When I then look at the list of assignments, I get a table with

  • Expiry date: 01/09/2025
  • End date: 01/09/2025

This seems to come from the fact that the data in this table comes from the CStudentPublicationRepository, which only queries the c_student_publication table, while the real data for the assignments created by the teacher is in c_student_publication_assignment (expires_on and ends_on fields).

This blocks reviewing #3297

Please fix.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions