Importing CMS PC2 .tab files does not work anymore #1019
Labels
Comments/Analysis Requested
Soliciting comments and feedback from the Team about how to implement issue
invalid
This doesn't seem right
low priority
An issue that can be deferred
Usability Issue
This is an enhancement for which there is currently no usable workaround
Describe the issue:
Can not import PC2_Site.tab to set groups.
To Reproduce:
PC2_Site.tab
file.Expected behavior:
The groups (sites) should be imported correctly.
Actual behavior:
The groups (sites) are imported incorrectly.
Environment:
All.
Log Info:
Screenshots:

Additional context:
It appears that at some point an additional field was added to the PC2_Site.tab file by the CMS. This throws off all the field numbering inside PC2 by 1, so instead of the group name, it picks up the group type(Normal). Instead of the CMS group ID it picks up the contest ID. Note that the group ID should be field 1, but PC2 is using field 2. similarly, for the group name, which should be field 2, it's using field 3. PC2 can handle 2 different type PC2_Site.tab files. One with 8 fields and one with 9 fields. Apparently, the 8 field format has an additional field causing it to be 9 fields. This confuses PC2 into handling it as the 9 field site file.
The question is, do we want to continue supporting this method of loading a contest. If so this should be fixed. If not, we should deprecate it immediately, since it does not work.
The text was updated successfully, but these errors were encountered: