--- a/src/main/webapp/WEB-INF/jsp/issue-form.jsp Sun Apr 04 11:52:30 2021 +0200 +++ b/src/main/webapp/WEB-INF/jsp/issue-form.jsp Sun Apr 04 13:03:41 2021 +0200 @@ -37,7 +37,7 @@ <c:set var="issuesHref" value="./projects/${project.node}/issues/${empty version ? '-' : version.node }/${empty component ? '-' : component.node}/"/> -<form action="${issuesHref}-/commit-issue" method="post"> +<form action="${issuesHref}-/commit" method="post"> <table class="formtable fullwidth"> <colgroup> <col> @@ -89,11 +89,11 @@ <td> <select name="component"> <option value="-1"><fmt:message key="placeholder.null-component"/></option> - <c:forEach var="component" items="${viewmodel.components}"> + <c:forEach var="comp" items="${viewmodel.components}"> <option - <c:if test="${not empty issue.component and component eq issue.component}">selected</c:if> - <c:if test="${empty issue.component and component.id eq cid}">selected</c:if> - value="${component.id}"><c:out value="${component.name}"/></option> + <c:if test="${not empty issue.component and comp eq issue.component}">selected</c:if> + <c:if test="${empty issue.component and comp eq comp}">selected</c:if> + value="${comp.id}"><c:out value="${comp.name}"/></option> </c:forEach> </select> </td>