Project

General

Profile

Actions

bug #10172

closed

Registration not found in phycobank portal though it exists

Added by Andreas Müller 4 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib-remote
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal
Found in Version:
Tags:

Actions #1

Updated by Andreas Müller 4 months ago

  • Description updated (diff)
Actions #2

Updated by Andreas Müller 3 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 60

The problem is that for http://phycobank.org/100097 exist 2 registrations with status "published". This is not allowed. However the wrong status message is sent back, probably because response.sendError is called 2x.

This has been changed. However, the main problem are the data.

We could also try to improve the message handling in this case.

Actions #3

Updated by Andreas Müller 3 months ago

  • Description updated (diff)
Actions #4

Updated by Andreas Müller 3 months ago

SELECT r.identifier
FROM Registration r
GROUP BY r.identifier
HAVING COUNT(*) > 1
Actions #5

Updated by Andreas Müller 3 months ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Andreas Müller to Wolf-Henning Kusber
  • Priority changed from New to Highest
  • % Done changed from 60 to 70

Sent mail to WHK to clean the data itself. I guess we can close this ticket if we do not want to improve the error handling in the dataportal also. But I guess this is not so important, the resulting webservices do give more information now so the error can be easily debugged if it occurs again.

Actions #6

Updated by Andreas Müller 3 months ago

Also check that specific identifier and identifier match

SELECT   r.*
FROM Registration r
WHERE r.identifier <> CONCAT ('http://phycobank.org/', r.specificIdentifier);
Actions #7

Updated by Andreas Müller 3 months ago

  • Target version changed from Release 5.35 to Release 5.34
Actions #8

Updated by Andreas Müller 3 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 70 to 100

The data is also cleaned now so I guess we can close this ticket.

Actions

Also available in: Atom PDF