Closed JoeCohen closed 5 months ago
Three of these are my images. They are the images for https://mushroomobserver.org/530103. That Observation was created via the website. So this is not an API issue. I have no clue why the license_id is "2023".
The screwed up images have create_at
ranging from 05 Aug 2019 to 22 Sep 2023.
All have the when
year = 0000. license_id
seems to be the year the photo was taken.
Sample screwed up image:
#<Image:0x00000001236df140
id: 1070308,
created_at: Mon, 05 Aug 2019 10:08:21.000000000 EDT -04:00,
updated_at: Mon, 05 Aug 2019 10:08:21.000000000 EDT -04:00,
content_type: "image/jpeg",
user_id: 26330,
when: Tue, 05 Oct 0000,
notes: "",
copyright_holder: "Nat",
license_id: 2015,
num_views: 1,
last_view: Wed, 20 May 2020 10:22:06.000000000 EDT -04:00,
width: 2048,
height: 1152,
vote_cache: nil,
ok_for_export: true,
original_name: nil,
transferred: true,
gps_stripped: false,
diagnostic: true>
@mc-nathan, @pellaea Any thoughts on how to handle this? (I think we should
when
year to what's now in license_id
license_id
to the user's default license_id.)I updated the database to correct the broken Images per the prior Comment. I therefore am Closing this Issue.
I've lately noticed website Errors like this:
The underlying problem is that the image has an invalid
license_id
. We have only 4 licenses, ids 1-4. This image has a license id of 2023. There are 195 images with an invalidlicense_id.
The license_id's range from 2015-2023 -- they are years.Questions