diff --git a/src/main/java/org/olat/modules/adobeconnect/manager/AdobeConnectManagerImpl.java b/src/main/java/org/olat/modules/adobeconnect/manager/AdobeConnectManagerImpl.java index e4134919ef59b5d49a8b327440187288ba20dcf6..4cfc00cce6b383080c31fc0c0cf547fa16ca779e 100644 --- a/src/main/java/org/olat/modules/adobeconnect/manager/AdobeConnectManagerImpl.java +++ b/src/main/java/org/olat/modules/adobeconnect/manager/AdobeConnectManagerImpl.java @@ -274,8 +274,11 @@ public class AdobeConnectManagerImpl implements AdobeConnectManager, DeletableGr AdobeConnectErrors errors) { List<AdobeConnectMeeting> currentMeetings = getMeetings(entry, subIdent, businessGroup); if(currentMeetings != null && !currentMeetings.isEmpty()) { - AdobeConnectMeeting meeting = currentMeetings.get(0); - return getAdapter().getScoMeeting(meeting, errors); + for (AdobeConnectMeeting meeting:currentMeetings) { + if (StringHelper.containsNonWhitespace(meeting.getScoId())) { + return getAdapter().getScoMeeting(meeting, errors); + } + } } return null; } @@ -285,7 +288,7 @@ public class AdobeConnectManagerImpl implements AdobeConnectManager, DeletableGr List<AdobeConnectMeeting> currentMeetings = getMeetings(entry, subIdent, businessGroup); if(currentMeetings != null && !currentMeetings.isEmpty()) { for(AdobeConnectMeeting meeting:currentMeetings) { - if(meeting.isPermanent()) { + if(meeting.isPermanent() && StringHelper.containsNonWhitespace(meeting.getScoId())) { return getAdapter().getScoMeeting(meeting, errors); } }