Project

General

Profile

« Previous | Next » 

Revision 53916

1. pom.xml: Add commented plugin for surfire (possibly needed in openjdk: bug in their release) | update version of javax.mail.
2. FetchContextHandler.java: bug fix in parsing resultset.
3. QueryGenerator.java: bug fix in query of method 'generateSelectFirstContextByCommunityIdQuery'.
4. TestClass.java: Tests for sending email notifications added.
5. EmailScheduler.java: 'sendEmailNotifications' boolean variable added to control if email scheduler will run or not.
6. EmailSender.java: Fix subject and content of emails | bug fixes | bcc emails to Greece's test mail.
7. springContext-claimsDemo.properties: Add 'services.claims.mail.contactMail', 'services.claims.mail.openaireProjectClaimsPage',
'services.claims.mail.openaireCommunityClaimsPage', 'services.claims.mail.manageCommunityUserNotificationsPage' properties.
8. springContext-claimsDemo.xml: Add missing beans for 'EmailSender' and 'EmailScheduler' classes.

View differences:

FetchContextHandler.java
38 38
        Context context = null;
39 39
        while(rs.next()) {
40 40
            context = new Context();
41
            context.setOpenaireId(rs.getString(1));
42
            context.setTitle(rs.getString(2));
41
            context.setOpenaireId(rs.getString("openaire_id"));
42
            context.setTitle(rs.getString("context_title"));
43 43
        }
44 44
        return context;
45 45
    }

Also available in: Unified diff