diff options
Diffstat (limited to 'admportal')
-rw-r--r-- | admportal/pom.xml | 4 | ||||
-rw-r--r-- | admportal/server/router/routes/dbRoutes.js | 2 | ||||
-rw-r--r-- | admportal/src/assembly/assemble_zip.xml | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/admportal/pom.xml b/admportal/pom.xml index 2fa4a338..1c1c0452 100644 --- a/admportal/pom.xml +++ b/admportal/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>org.openecomp.sdnc.oam</groupId> <artifactId>sdnc-oam</artifactId> - <version>1.0.0-SNAPSHOT</version> + <version>1.1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> @@ -13,7 +13,7 @@ <groupId>org.openecomp.sdnc.oam</groupId> <artifactId>admportal</artifactId> - <version>1.0.0-SNAPSHOT</version> + <version>1.1.0-SNAPSHOT</version> <name>Admin Portal</name> <description>Admin Portal</description> diff --git a/admportal/server/router/routes/dbRoutes.js b/admportal/server/router/routes/dbRoutes.js index d2f40b52..34a90c7b 100644 --- a/admportal/server/router/routes/dbRoutes.js +++ b/admportal/server/router/routes/dbRoutes.js @@ -275,11 +275,13 @@ exports.saveUser = function(req,res){ connection.query(sql, function(err,result){ if(err){ + connection.release(); res.render("pages/signup", {result:{code:'error', msg:"Unable to get database connection. " + String(err)},header:process.env.MAIN_MENU}); return; } if (result.length == 1 || result.length > 1) { + connection.release(); res.render("pages/signup", {result:{code:'error', msg:'User Information already exists.'},header:process.env.MAIN_MENU}); return; } diff --git a/admportal/src/assembly/assemble_zip.xml b/admportal/src/assembly/assemble_zip.xml index 46763c81..2c96aa32 100644 --- a/admportal/src/assembly/assemble_zip.xml +++ b/admportal/src/assembly/assemble_zip.xml @@ -3,7 +3,7 @@ openECOMP : SDN-C ================================================================================ Copyright (C) 2017 AT&T Intellectual Property. All rights - reserved. + reserved. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. |