Closed awead closed 3 years ago
i've created a report that shows all the hits to the LegacyUrlsController that ultimately returned a non-200 status. I'm creating a widget on the dashboard that contains the same data.
The attached file is a txt file, because that's what GitHub supports, if you open it up in numbers, or excel it should format properly.
Interesting thing of note, all the requests over the last 14 hours that got a 404 threw Pundit::NotAuthorizedError: not allowed to show? this WorkDecorator
I, as an admin still can't visit the resolved link, i'm hoping it's something easy to fix.
@whereismyjetpack That's the correct response. Technically, it's a 401 because they're not authorized to view the resource, but we don't want to give away it's existence. This is likely because a work that was formerly open access in Scholarsphere 3 is missing some required metadata in version 4, so it still in draft status, and thus, not viewable.
Redirects to published works from SS3 should (ideally) not 404.
WDLL
/concern/generic_works/[id]
and redirect with a 200/concern/generic_works/[id]
and redirect with a 404