Skip to content

Commit

Permalink
Merge pull request #600 from siemens/fix/AddingToDosInLicense
Browse files Browse the repository at this point in the history
fix(license-todo): Adding TODOs to License

tested-by: [email protected]
review-by: [email protected]
  • Loading branch information
lepokle authored Jul 26, 2019
2 parents e11995e + 0cf598a commit da94379
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import org.eclipse.sw360.portal.common.UsedAsLiferayAction;
import org.eclipse.sw360.portal.portlets.Sw360Portlet;
import org.eclipse.sw360.portal.users.UserCacheHolder;

import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Logger;
import org.apache.thrift.TException;

Expand Down Expand Up @@ -403,6 +403,7 @@ public void addTodo(ActionRequest request, ActionResponse response) throws Portl
todo.setObligationDatabaseIds(Collections.emptySet());
}
todo.setText(todoText);
todo.setTitle(StringUtils.EMPTY);

User user = UserCacheHolder.getUserFromRequest(request);
String moderationComment = request.getParameter(PortalConstants.MODERATION_REQUEST_COMMENT);
Expand Down

0 comments on commit da94379

Please sign in to comment.