Project

General

Profile

Actions

Bug #12212

closed

Error when trying to change status of a GRSF record

Added by Francesco Mangiacrapa almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
High
Target version:
-
Start date:
Jul 20, 2018
Due date:
% Done:

100%

Estimated time:

Description

@aureliano.gentile@fao.org just started some tests and he found an error in the management panel when tried to change the status of a record from approved to pending. The record is http://data.d4science.org/ctlg/GRSF_Admin/34b80228-8fb8-3c70-9d0e-25a3dd3f8bd3

Checking the logs I found an error (it occurs when parsing the response returned by grsf-services-updater). See the attached file for details.

[PORTAL] 144195669 [http-bio-9090-exec-132] ERROR org.gcube.datacatalogue.grsf_manage_widget.server.manage.GRSFUpdaterServiceClient - Failed to parse response from knowledge base
org.json.simple.parser.ParseException: null

Please, could you check if the grsf-services-updater working fine?


Files

log_grsf_service_updater_response_error.txt (34.7 KB) log_grsf_service_updater_response_error.txt Francesco Mangiacrapa, Jul 20, 2018 12:04 PM
recordmerged.jpg (32.1 KB) recordmerged.jpg Aureliano Gentile, Jul 24, 2018 03:07 PM
Actions #1

Updated by Yannis Marketakis almost 7 years ago

  • Status changed from New to In Progress

Hi Fransesco,

Yes I'll check it out.

Actions #2

Updated by Yannis Marketakis almost 7 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100

The issue occurred because the client could not retrieve the URL of the GRSFPublisher service for GRSF-Admin VRE.

More specifically, I noticed the following trace in the logs

javax.xml.ws.WebServiceException: java.lang.RuntimeException: cannot configure outgoing message] with root cause
 java.lang.UnsupportedOperationException: Entity References are not allowed in SOAP documents
    at com.sun.xml.internal.messaging.saaj.soap.SOAPDocumentImpl.createEntityReference(SOAPDocumentImpl.java:148)
    at com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.createEntityReference(SOAPPartImpl.java:437)
    at com.sun.xml.internal.ws.api.message.saaj.SaajStaxWriter.writeEntityRef(SaajStaxWriter.java:245)

I found that it is a known JDK issue (https://bugs.openjdk.java.net/browse/JDK-8196491). After upgrading to JDK 1.8.0_181 the issue has been resolved.

Actions #3

Updated by Aureliano Gentile almost 7 years ago

Dear colleagues,

I tested again changing status to http://data.d4science.org/ctlg/GRSF_Admin/34b80228-8fb8-3c70-9d0e-25a3dd3f8bd3 and it works fine, including changes to approve/reject/hidden. Record status is also updated in real time through the "Status of the GRSF record" tags.

I believe "archive" status is missing, hidden was conceived for quick (and temporary) removal while archive has a different meaning, in example a no longer monitored stock or an ended fishery. At least this is what I see in the requirements https://support.d4science.org/projects/stocksandfisherieskb/wiki/GRSF_database_overview#Content-Management-System , am I missing something?

Actions #4

Updated by Aureliano Gentile almost 7 years ago

I have also tested the merge with another assessment unit and apparently it is fine. But:

1) I did not receive any email notification

2) If I try to edit again https://bluebridge.d4science.org/group/grsf_admin/data-catalogue?path=/dataset/21f0dcba-5464-359c-8699-607842656681 the pop up reads: "Error is Records under merging activities cannot be managed without explicit authorisation!" - I suggest to change into: "The record is locked due to a merge request in progress."

3) The other record can still be managed, it is not locked. (https://bluebridge.d4science.org/group/grsf_admin/data-catalogue?path=/dataset/34b80228-8fb8-3c70-9d0e-25a3dd3f8bd3 )

Actions #5

Updated by Francesco Mangiacrapa almost 7 years ago

  • Status changed from Feedback to Closed

Dear Aureliano,

from your feedback the issue related to change status of a GRSF record seems fixed.
We can close the current ticket and move your comments on "archive" status and so on to another enhancement ticket for GRSF Management panel. I just created it at #12237

Actions #6

Updated by Luca Frosini almost 7 years ago

  • Project changed from 8 to StocksAndFisheriesKB
  • Target version deleted (WP09)
Actions #7

Updated by Luca Frosini almost 7 years ago

  • Tracker changed from Task to Bug
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)