Skip to content

Challenge phases not working properly #113

Open
@jmgasper

Description

@jmgasper

There is one phase in timeline template doesn't exist in all challenge phases (https://api.topcoder-dev.com/v5/challenge-phases):

 {
        "phaseId": "6950164f-3c5e-4bdc-abc8-22aaf5a1bd49",
        "defaultDuration": 48
      },

the front end can't find the phase with id "6950164f-3c5e-4bdc-abc8-22aaf5a1bd49" in challenge phase so it will ignore this phase.

This phase doesn't come down from this endpoint:
https://api.topcoder-dev.com/v5/challenge-phases

This line seems to be the culprit, in PhaseService.js:

const list = await helper.scan('Phase')

The scan will only return the first 20 phases, but we need to pull all of them.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions