cms icon indicating copy to clipboard operation
cms copied to clipboard

Dataset is not updated when updating a task

Open CristianCantoro opened this issue 6 years ago • 0 comments

IMPORTANT: This issue is a companion to https://github.com/cms-dev/cms/issues/970. I understand that it is about an old version of CMS, but I am reporting it just because maybe some other users will come across it. I do not expect this to be backported.

Description:

The dataset is not reimported when cmsImportTask -u

Steps to reproduce:

  1. Import a task in CMS and attach it to a contest.
  2. Modify your reference solution.
  3. From the task directory, run cmsMake -c
  4. From the task directory, run cmsMake -a
  5. From the task directory, run cmsImportTask [-L italy_yaml] -u -c CONTEST_ID .

Expected:

The new version of the dataset (i.e. the input and output files) gets uploaded to the contest.

Actual:

The contest is still using the old version of the dataset.

A workaround is updating the dataset through the admin interface.

Logs

No relevant logs.

System Information

CMS version: 1.3.1 Was CMS installed: yes Using a virtualenv: no Postgres version: 9.3.18 Distribution and version: Ubuntu 16.04.4 LTS (xenial)

CristianCantoro avatar May 04 '19 23:05 CristianCantoro