AmphibiaWeb / amphibian-disease-tracker

Amphibian Disease Tracker Portal
GNU General Public License v3.0
6 stars 0 forks source link

troubleshoot non-ark assignment #227

Closed mkoo closed 7 years ago

mkoo commented 7 years ago

In a latest Project ark value says "Array"

tigerhawkvok commented 7 years ago

Looks like last four projects:

image

tigerhawkvok commented 7 years ago

The ARK response changed from a string to an object:

{
  "ezidRequest": true,
  "identifier": "ark:/21547/Ale2",
  "resourceType": "http://purl.org/dc/dcmitype/Collection",
  "subResourceType": null,
  "ts": null
}
tigerhawkvok commented 7 years ago

Fixing ones already misassigned currently blocked on https://github.com/biocodellc/biocode-fims/issues/106

jdeck88 commented 7 years ago

Phillip, Can you get me a list of dates from that query? we shouldn't have any API changes (intentionally, anyway) in the recent past. I can at least get you those ARKS if we're missing them.

Also, It appears that there was an unintended change in the API in January. Sorry about that. We plan to implement tests to catch such changes.

tigerhawkvok commented 7 years ago

@jdeck88 looks like the last good one was Fri Dec 09 2016 17:56:51 GMT-0800 (Pacific Standard Time), and the first bad one was Tue Mar 07 2017 11:02:46 GMT-0800 (Pacific Standard Time), so I bet it was the January change.

While it'd be nice to figure out https://github.com/biocodellc/biocode-fims/issues/106 , for my purposes the ARKs for expeditions:

would be enough!

jdeck88 commented 7 years ago

Philip, not sure if you got this yet w/ the recent fix, but here you go:

mysql> select e.expeditionCode,b.identifier from bcids b, expeditionBcids eb,expeditions e where b.bcidId=eb.bcidId and eb.expeditionId = e.expeditionId and b.resourceType='http://purl.org/dc/dcmitype/Collection' and ( e.expeditionCode='6852058c3da8460fb63fdd8dd7f262c4' or e.expeditionCode='eabb46e0c229425da905681f2202304b' or e.expeditionCode='3715ad136abb37f989c2ec4f0ced2d58' or e.expeditionCode='82804c92fddb1d157c59ee976dcc9c77');

+----------------------------------+-----------------+ | expeditionCode | identifier | +----------------------------------+-----------------+ | 3715ad136abb37f989c2ec4f0ced2d58 | ark:/21547/Ajs2 | | 6852058c3da8460fb63fdd8dd7f262c4 | ark:/21547/Ajc2 | | 82804c92fddb1d157c59ee976dcc9c77 | ark:/21547/AlM2 | | eabb46e0c229425da905681f2202304b | ark:/21547/Ajp2 | +----------------------------------+-----------------+

On Fri, Mar 31, 2017 at 3:08 PM, Philip Kahn notifications@github.com wrote:

@jdeck88 https://github.com/jdeck88 looks like the last good one was Fri Dec 09 2016 17:56:51 GMT-0800 (Pacific Standard Time), and the first bad one was Tue Mar 07 2017 11:02:46 GMT-0800 (Pacific Standard Time), so I bet it was the January change.

While it'd be nice to figure out biocodellc/biocode-fims#106 https://github.com/biocodellc/biocode-fims/issues/106 , for my purposes the ARKs for expeditions:

  • 6852058c3da8460fb63fdd8dd7f262c4
  • eabb46e0c229425da905681f2202304b
  • 3715ad136abb37f989c2ec4f0ced2d58
  • 82804c92fddb1d157c59ee976dcc9c77

would be enough!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AmphibiaWeb/amphibian-disease-tracker/issues/227#issuecomment-290843589, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGdxWFQo-rhBu_TFt9NkvqZRfS8jN_Sks5rrXlvgaJpZM4MvCJ5 .

-- John Deck (541) 914-4739

jdeck88 commented 7 years ago

I think this should close out this issue... @tigerhawkvok take a look and see if issue is closeable.

tigerhawkvok commented 7 years ago

Thanks! (I did get them, but referenced the closure off-branch).