| .. | .. |
|---|
| 153 | 153 | .build(); |
|---|
| 154 | 154 | } |
|---|
| 155 | 155 | currentapp.setName(app.getName()); |
|---|
| 156 | + currentapp.setLicenseFilename(app.getLicenseFilename()); |
|---|
| 156 | 157 | currentapp.setDescription(app.getDescription()); |
|---|
| 157 | | - em.merge(currentapp); |
|---|
| 158 | 158 | |
|---|
| 159 | 159 | Set<ApplicationMetadata> newMD = app.getApplicationMetadata(); |
|---|
| 160 | 160 | for (ApplicationMetadata currentMd : currentapp.getApplicationMetadata()) { |
|---|
| .. | .. |
|---|
| 178 | 178 | } |
|---|
| 179 | 179 | } |
|---|
| 180 | 180 | currentapp.setApplicationMetadata(app.getApplicationMetadata()); |
|---|
| 181 | + em.merge(currentapp); |
|---|
| 181 | 182 | return Response.ok(currentapp).build(); |
|---|
| 182 | 183 | } |
|---|
| 183 | 184 | |
|---|