Revision 53916
Added by Konstantina Galouni over 5 years ago
QueryGenerator.java | ||
---|---|---|
1102 | 1102 |
|
1103 | 1103 |
public String generateSelectFirstContextByCommunityIdQuery(String communityId, ArrayList<Object> params) { |
1104 | 1104 |
params.add(communityId+"%"); |
1105 |
return " Select " + getContextFields("context") + " from context where openaire_id like '?' LIMIT 1";
|
|
1105 |
return " Select " + getContextFields("context") + " from context where openaire_id like ? LIMIT 1;";
|
|
1106 | 1106 |
} |
1107 | 1107 |
|
1108 | 1108 |
public String generateSelectProjectByIdQuery(String projectId, ArrayList<Object> params) { |
Also available in: Unified diff
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.