Skip to content

Commit 8716925

Browse files
authored
Merge pull request #5785 from DIRACGridBot/cherry-pick-2-e67a572cc-integration
[sweep:integration] Restore task state "Scheduled"
2 parents f69c723 + 14bf269 commit 8716925

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/DIRAC/TransformationSystem/Service/TransformationManagerHandler.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,17 @@
1313
from DIRAC.ConfigurationSystem.Client.Helpers.Operations import Operations
1414
from DIRAC.TransformationSystem.Client import TransformationFilesStatus
1515
from DIRAC.WorkloadManagementSystem.Client import JobStatus
16+
from DIRAC.RequestManagementSystem.Client.Request import Request
17+
from DIRAC.RequestManagementSystem.Client.Operation import Operation
1618

1719

1820
transTypes = list(six.string_types) + list(six.integer_types)
1921

2022
__RCSID__ = "$Id$"
2123

22-
TASKS_STATE_NAMES = ["TotalCreated", "Created"] + JobStatus.JOB_STATES
24+
TASKS_STATE_NAMES = ["TotalCreated", "Created"] + sorted(
25+
set(JobStatus.JOB_STATES) | set(Request.ALL_STATES) | set(Operation.ALL_STATES)
26+
)
2327
FILES_STATE_NAMES = ["PercentProcessed", "Total"] + TransformationFilesStatus.TRANSFORMATION_FILES_STATES
2428

2529

0 commit comments

Comments
 (0)