Project

General

Profile

Revision 2ab12e51

ID2ab12e5194e948cf8a11f2aed9ff14577b76920a
Parent cbb820eb
Child a43f5d4e

Added by Andreas Kohlbecker almost 4 years ago

null check in TeamDefaultCacheStrategy needed sometimes in UIs

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/cache/agent/TeamDefaultCacheStrategy.java
101 101

  
102 102
        for (int i = 1; i <= teamMembers.size() && i < etAlPosition; i++){
103 103
            Person teamMember = teamMembers.get(i-1);
104
            if(teamMember == null){
105
                // this can happen in UIs in the process of adding new members
106
                continue;
107
            }
104 108
            String concat = concatString(team, teamMembers, i);
105 109
            result += concat + teamMember.getTitleCache();
106 110
        }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)