dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #40597
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20612: Closing zip if namespace is taken (DefaultAppManager)
Merge authors:
Stian Sandvold (stian-sandvold)
------------------------------------------------------------
revno: 20612 [merge]
committer: Stian Sandvold <stian.sandvold@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2015-10-09 23:59:06 +0200
message:
Closing zip if namespace is taken (DefaultAppManager)
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/appmanager/DefaultAppManager.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/appmanager/DefaultAppManager.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/appmanager/DefaultAppManager.java 2015-10-09 21:43:56 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/appmanager/DefaultAppManager.java 2015-10-09 21:56:56 +0000
@@ -150,6 +150,7 @@
if ( appNamespace != null && ( this.appNamespaces.containsKey( appNamespace ) &&
!app.equals( appNamespaces.get( appNamespace ) ) ) )
{
+ zip.close();
return AppStatus.NAMESPACE_TAKEN;
}