Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 4dd313a

Browse files
author
Dushyant Bhalgami
authored
Merge pull request #522 from appirio-tech/dev
fixed issue with direct related to `new category`
2 parents 4dac26b + a4a9823 commit 4dd313a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java/main/com/topcoder/direct/services/view/action/contest/launch/GetContestAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ protected void executeAction() throws Exception {
474474
List<ProjectGroup> projectGroups = DirectUtils.getGroupIdAndName(
475475
softwareCompetition.getProjectHeader().getGroups());
476476

477-
if (this.type == TYPE.CONTEST_JSON) {
477+
if (projectGroups != null && this.type == TYPE.CONTEST_JSON) {
478478
// get v5 id of groups
479479
Set<Map<String, String>> projectGroupUser = DirectUtils.getGroups(DirectUtils.getTCSubjectFromSession(),
480480
userGroupsApiEndpoint);

0 commit comments

Comments
 (0)