Project

General

Profile

Actions

Incident #11988

closed

Copy doesn't work prepoerly

Added by Roberto Cirillo almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Urgent
Category:
Application
Target version:
Start date:
Jun 19, 2018
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Development, Pre-Production, Production

Description

In order to test the new copy implementation I have performed some tests by our workspace on copy operation and I've notice that the copy operation doesn't work properly in development environment but also on production environment.

The behavior is the following in both the environments:

after a copy, if the original file is deleted, the copied file cannot be downloaded because ( I guess ) the copied file has the same id of the original file. In other words, when a file is copied the id field is not update correctly on the copied file. I think the problem could be in HL libraries or in the storage-manager libraries. I'm going to perform some check in order to identify the affected component


Related issues

Related to D4Science Infrastructure - Upgrade #11999: Deploy Home Library patch on Infra Gateways for fixing Incident 11988CompletedMassimiliano AssanteJun 20, 2018Jun 20, 2018

Actions
Actions #1

Updated by Roberto Cirillo almost 7 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Roberto Cirillo almost 7 years ago

  • Status changed from In Progress to Feedback
  • Assignee changed from Roberto Cirillo to Lucio Lelii

I've performed some tests on porduction workspace and I can confirm that the storage id of the copied file is the same of the original file.
Now we should understand if the copy operation give the wrong id or if the HL library doesn't take the return value of the copy operation.
Please @lucio.lelii@isti.cnr.it could you check if the id of the copied file is taken correctly by HL after a copy operation?

Actions #4

Updated by Lucio Lelii almost 7 years ago

  • % Done changed from 0 to 100

The problem has been solved, a build against release 4.12 is under execution.
the new configuration is org.gcube.common.home-library-jcr.2-11-5

Actions #5

Updated by Roberto Cirillo almost 7 years ago

Please @francesco.mangiacrapa@isti.cnr.it could you add this case on workspace test plan ?

Actions #6

Updated by Francesco Mangiacrapa almost 7 years ago

Roberto Cirillo wrote:

Please @francesco.mangiacrapa@isti.cnr.it could you add this case on workspace test plan ?

I just updated the testing plan adding above use case. You can see it at: #6, #6.3 and #6.4 in the testing plan (https://goo.gl/ZaXgWe)

Actions #7

Updated by Roberto Cirillo almost 7 years ago

  • Assignee changed from Lucio Lelii to Massimiliano Assante

Thanks @francesco.mangiacrapa@isti.cnr.it

Please @massimiliano.assante@isti.cnr.it could you deploy the new jar on the production portals?
The new maven coordinates are the following:

<dependency>
  <groupId>org.gcube.common</groupId>
  <artifactId>home-library-jcr</artifactId>
  <version>2.11.5-4.12.0-169333</version>
</dependency>
Actions #8

Updated by Massimiliano Assante almost 7 years ago

  • Related to Upgrade #11999: Deploy Home Library patch on Infra Gateways for fixing Incident 11988 added
Actions #9

Updated by Massimiliano Assante almost 7 years ago

the patch has been deployed please test the workspace https://services.d4science.org/group/d4science-services-gateway/workspace

Actions #10

Updated by Roberto Cirillo almost 7 years ago

  • Status changed from Feedback to Closed

The test has been passed. I'm going to close this ticket. Thanks.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)