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

Commit 7ab0654

Browse files
author
vikasrohit
authored
Merge pull request #542 from appirio-tech/dev
Production release 3.2.3 for fixing serialization error
2 parents 1a5538e + 9752ac0 commit 7ab0654

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

components/project_management/src/java/main/com/topcoder/management/project/ProjectGroup.java

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,20 @@
2222
* <p>
2323
* Changes related to v5-groups-api
2424
* </p>
25-
*
26-
* @author dushyantb
27-
* @version 1.1
25+
* Version 1.2 (Fixing serilization error for ProjectGroup):
26+
* <ul>
27+
* <li>Added serlization version id to avoid marshlling errors</li>
28+
* </ul>
29+
* @author dushyantb, vikasrohit
30+
* @version 1.2
2831
*/
2932

3033
public class ProjectGroup implements Serializable {
34+
/**
35+
* Unique seriliazation version id
36+
*/
37+
private static final long serialVersionUID = 652485342267757690L;
38+
3139
/**
3240
* Represents group id
3341
*/

src/java/main/com/topcoder/direct/services/view/util/DirectUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3876,6 +3876,7 @@ public static Set<Map<String, String>> getGroupsFromApi(TCSubject tcSubject, Str
38763876

38773877
if (!DirectUtils.isCockpitAdmin(tcSubject) && !DirectUtils.isTcStaff(tcSubject)) {
38783878
uri.setParameter("memberId", String.valueOf(tcSubject.getUserId()));
3879+
uri.setParameter("membershipType", "user");
38793880
}
38803881

38813882
uri.setParameter(PER_PAGE, PER_PAGE_VALUE);

0 commit comments

Comments
 (0)