Skip to content

Commit

Permalink
MID-7134 Fix NPE in members tab of Archetype page
Browse files Browse the repository at this point in the history
(cherry picked from commit 9163aab)
  • Loading branch information
wadahiro authored and katkav committed Jul 9, 2021
1 parent 6409104 commit 9ea370f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class SessionStorage implements Serializable, DebugDumpable {
public static final String KEY_ROLE_MEMBER_PANEL = UserProfileStorage.TableId.ROLE_MEMBER_PANEL.name();
public static final String KEY_ORG_MEMBER_PANEL = UserProfileStorage.TableId.ORG_MEMBER_PANEL.name();
public static final String KEY_SERVICE_MEMBER_PANEL = UserProfileStorage.TableId.SERVICE_MEMBER_PANEL.name();
public static final String KEY_SERVICE_ARCHETYPE_PANEL = UserProfileStorage.TableId.ARCHETYPE_MEMBER_PANEL.name();
public static final String KEY_ARCHETYPE_MEMBER_PANEL = UserProfileStorage.TableId.ARCHETYPE_MEMBER_PANEL.name();
public static final String KEY_WORK_ITEMS = "workItems";
public static final String KEY_OBJECT_LIST = "containerListPage";
public static final String KEY_CASE_WORKITEMS_TAB = "workitemsTab";
Expand Down Expand Up @@ -222,7 +222,8 @@ public PageStorage initPageStorage(String key) {
pageStorage = new ObjectListStorage();
} else if (key.startsWith(KEY_ORG_MEMBER_PANEL)
|| key.startsWith(KEY_ROLE_MEMBER_PANEL)
|| key.startsWith(KEY_SERVICE_MEMBER_PANEL)) {
|| key.startsWith(KEY_SERVICE_MEMBER_PANEL)
|| key.startsWith(KEY_ARCHETYPE_MEMBER_PANEL)) {
pageStorage = new MemberPanelStorage();
} else if (KEY_ASSIGNMENTS_TAB.equals(key)
|| KEY_INDUCEMENTS_TAB.equals(key)
Expand Down

0 comments on commit 9ea370f

Please sign in to comment.