Commit b8403e32 authored by Daniel Gerhardt's avatar Daniel Gerhardt

Merge branch '2.4' into 2.5

parents bc371a7f 081e4e59
# Changelog
## 2.4.3
This release fixes a performance issue on session creation affecting large
installations.
Bug fixes:
* WebSocket communication now works correctly for course sessions.
(only affects installations using the LMS connector)
* The configuration parameter `security.facebook.allowed-roles` is now
respected.
Additional changes:
* Libraries have been upgraded to fix potential bugs
## 2.5
Major features:
* Administration API: New endpoints have been added which are accessible by
......
......@@ -522,9 +522,9 @@ public class CouchDBDao implements IDatabaseDao, ApplicationEventPublisherAware
}
@Override
@Transactional(isolation = Isolation.READ_COMMITTED)
public boolean sessionKeyAvailable(final String keyword) {
final View view = new View("session/by_keyword");
view.setKey(keyword);
final ViewResults results = getDatabase().view(view);
return !results.containsKey(keyword);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment