project name and node may have 50 chars - fixes #118

Mon, 05 Apr 2021 17:56:46 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 05 Apr 2021 17:56:46 +0200
changeset 187
0bf35031a918
parent 186
05eec764facd
child 188
2979436edd9e

project name and node may have 50 chars - fixes #118

setup/postgres/psql_create_tables.sql file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/jsp/project-form.jsp file | annotate | diff | comparison | revisions
--- a/setup/postgres/psql_create_tables.sql	Sun Apr 04 13:03:41 2021 +0200
+++ b/setup/postgres/psql_create_tables.sql	Mon Apr 05 17:56:46 2021 +0200
@@ -11,7 +11,7 @@
 
 create table lpit_project (
     projectid       serial          primary key,
-    name            varchar(20)     not null unique,
+    name            varchar(50)     not null unique,
     node            varchar(20)     not null unique,
     ordinal         integer         not null default 0,
     description     varchar(200),
--- a/src/main/webapp/WEB-INF/jsp/project-form.jsp	Sun Apr 04 13:03:41 2021 +0200
+++ b/src/main/webapp/WEB-INF/jsp/project-form.jsp	Mon Apr 05 17:56:46 2021 +0200
@@ -40,11 +40,11 @@
         <tbody>
         <tr>
             <th><fmt:message key="project.name"/></th>
-            <td><input name="name" type="text" maxlength="20" required value="<c:out value="${project.name}"/>" /></td>
+            <td><input name="name" type="text" maxlength="50" required value="<c:out value="${project.name}"/>" /></td>
         </tr>
         <tr title="<fmt:message key="node.tooltip"/>">
             <th><fmt:message key="node"/></th>
-            <td><input name="node" type="text" maxlength="20" value="<c:out value="${project.node}"/>" /></td>
+            <td><input name="node" type="text" maxlength="50" value="<c:out value="${project.node}"/>" /></td>
         </tr>
         <tr>
             <th><fmt:message key="description"/></th>

mercurial