Skip to content

Commit

Permalink
Merge pull request #68 from Grupo13-PES-Mascotas/hotfix/v2.0.2
Browse files Browse the repository at this point in the history
Hotfix/v2.0.2
  • Loading branch information
santidrj authored May 26, 2020
2 parents 4ee3167 + 25046ee commit cd1b1b4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Software project from FIB (Facultat d'Informàtica de Barcelona)

## Documentation
Documentation for the current release:
- [Webservice Javadoc](https://javadoc.jitpack.io/com/github/Grupo13-PES-Mascotas/PES_My-Pet-Care-Webservice/v2.0.1/javadoc/)
- [Webservice Javadoc](https://javadoc.jitpack.io/com/github/Grupo13-PES-Mascotas/PES_My-Pet-Care-Webservice/v2.0.2/javadoc/)
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
}

group = 'com.github.Grupo13-PES-Mascotas'
version = '2.0.0'
version = '2.0.2'
sourceCompatibility = '1.8'

configurations {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ public void createForum(String parentGroup, ForumEntity forumEntity)
//saveUserAsMember(userDao.getUid(creator), creator, forumRef, batch);
//userDao.addForumSubscription(creator, parentGroup, name, batch);
List<String> tags = forumEntity.getTags();
for (String tag : tags) {
addForumToTag(tag, name, batch);
if (tags != null) {
for (String tag : tags) {
addForumToTag(tag, name, batch);
}
}
documentAdapter.commitBatch(batch);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ protected ResponseEntity<Object> handleIncorrectCalendarAccess(CalendarAccessExc
@ExceptionHandler(DocumentException.class)
protected ResponseEntity<Object> handleInvalidDocumentRequest(DocumentException ex) {
ErrorBody errorBody = new ErrorBody(ex.getErrorCode(), ex);
ex.printStackTrace();
if ("document-not-exists".equals(ex.getErrorCode())) {
return new ResponseEntity<>(errorBody, HttpStatus.NOT_FOUND);
}
Expand Down

0 comments on commit cd1b1b4

Please sign in to comment.