Project

General

Profile

Actions

Bug #13347

closed

Cannot update or publish legacy records

Added by Yannis Marketakis about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
Feb 18, 2019
Due date:
% Done:

100%

Estimated time:

Description

I'm facing the following error when trying to publish or update legacy records.

2019-02-18 11:36:02 ERROR GrsfPublisher:110 - Fatal transport error: 
java.lang.Exception: Method failed: HTTP/1.1 500 Internal Server Error; Response body: {"id":null,"knowledge_base_id":null,"product_url":null,"error":"refers_to cannot be null/empty"}
    at gr.forth.ics.isl.grsfservicescore.GrsfPublisher.publishRecord(GrsfPublisher.java:102)
    at gr.forth.ics.isl.grsfservicescore.clients.PublisherClient.publishRecords(PublisherClient.java:758)
    at gr.forth.ics.isl.grsfservicescore.clients.PublisherClient.publishOriginalFisheries(PublisherClient.java:386)
    at gr.forth.ics.isl.grsfservicescore.clients.PublisherClient.publishOriginalFishery(PublisherClient.java:356)
    at gr.forth.ics.isl.grsfservicescore.clients.PublisherClient.main(PublisherClient.java:979)

The property refers_to is only used when publish grsf records (and this property is used to point to the corresponding legacy records). When publishing legacy records it does not exist, so the service should not check if it exists.


Files


Related issues

Blocks StocksAndFisheriesKB - Bug #13250: Honduran management organization acronym not appearingClosedYannis MarketakisApr 11, 2064

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)