rsanchez
2014-11-18 b33557d3faf3e45eff3d3e19f4a1549ffe907b4c
securis/src/main/java/net/curisit/securis/services/ApplicationResource.java
....@@ -153,8 +153,8 @@
153153 .build();
154154 }
155155 currentapp.setName(app.getName());
156
+ currentapp.setLicenseFilename(app.getLicenseFilename());
156157 currentapp.setDescription(app.getDescription());
157
- em.merge(currentapp);
158158
159159 Set<ApplicationMetadata> newMD = app.getApplicationMetadata();
160160 for (ApplicationMetadata currentMd : currentapp.getApplicationMetadata()) {
....@@ -178,6 +178,7 @@
178178 }
179179 }
180180 currentapp.setApplicationMetadata(app.getApplicationMetadata());
181
+ em.merge(currentapp);
181182 return Response.ok(currentapp).build();
182183 }
183184