Skip to content
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.

[HOLD] Allow rights metadata indexing to function again #466

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mjgiarlo
Copy link
Member

Why was this change made?

It currently is fundamentally broken: https://app.honeybadger.io/projects/49897/faults/67008277

How was this change tested?

CI and integration tests on stage (to be run soon)

Which documentation and/or configurations were updated?

None

super
end

def dra_object
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the problem is not that we are missing this object, but that the indexer should not be referencing this object.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't disagree. Was shooting to put up a quick fix and move on to other fires.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jcoyne OK, I'll have a look.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jcoyne if I remove all the dra stuff in the rights metadata datastream indexer, it's not going to be doing very much, which has me wondering why we have all this code in Hydrus now. I'm not eager to do a deep dive on this one.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was added so that we could upgrade to the latest version of dor-services which does not have its own indexing. This indexing code was for Dor::RightsMetadataDS not for Hydrus::RightsMetadataDS

@mjgiarlo mjgiarlo force-pushed the rights-indexing-fix branch from dd3a542 to d0bb325 Compare August 25, 2020 21:45
@mjgiarlo mjgiarlo changed the title Allow rights metadata indexing to function again [HOLD] Allow rights metadata indexing to function again Aug 26, 2020
@mjgiarlo
Copy link
Member Author

This PR currently makes things worse. I can't even load the index page on stage. Planning to pair with @aaron-collier in the morning.

@mjgiarlo
Copy link
Member Author

@jcoyne is going to take over this work. Feel free to nuke this branch/PR or re-purpose it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants