Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harvested dataset display is broken on develop branch #10611

Closed
jeromeroucou opened this issue Jun 5, 2024 · 3 comments · Fixed by #10651
Closed

Harvested dataset display is broken on develop branch #10611

jeromeroucou opened this issue Jun 5, 2024 · 3 comments · Fixed by #10651
Labels
Feature: Harvesting FY24 Sprint 26 FY24 Sprint 26 GREI Year 3 Year 3 GREI task GREI 3 Search and Browse Size: 3 A percentage of a sprint. 2.1 hours. Type: Bug a defect
Milestone

Comments

@jeromeroucou
Copy link
Contributor

What steps does it take to reproduce the issue?

With a Dataverse compiled with the latest version of the current development source code :

  • login as a super-user
  • on dashboard page, add a new Harvesting Clients
  • run the client
  • after the client has finished, check that datasets have been harvested
  • go to the dataverse page containing the harvested datasets
  • the display of harvested datasets is like non-harvested (created on the repository)

Which version of Dataverse are you using?

I reproduce this bug after compiling the latest version of the code on develop branch.

Any related open or closed issues to this bug report?

I think this bug is related to the new feature #10298 : on search-include-fragment.xhtml at line 506, the display is conditioned by the SolrSearchResult.isHarvested() method. The harvested attribute is set by SearchServiceBean class at line 582.

With the new feature, metadataSource can now contain the repository source, not only Harvested value.

Screenshots:

Actual
harvested_datasets

Expected
expected_harvested_datasets

@jeromeroucou jeromeroucou added the Type: Bug a defect label Jun 5, 2024
@pdurbin pdurbin added Size: 3 A percentage of a sprint. 2.1 hours. Feature: Harvesting labels Jun 5, 2024
@cmbz cmbz moved this to SPRINT READY in IQSS Dataverse Project Jun 5, 2024
@cmbz cmbz added the GREI 3 Search and Browse label Jun 5, 2024
@cmbz cmbz added the GREI Year 3 Year 3 GREI task label Jun 5, 2024
@cmbz cmbz moved this from SPRINT READY to This Sprint 🏃‍♀️ 🏃 in IQSS Dataverse Project Jun 20, 2024
@jp-tosca jp-tosca self-assigned this Jun 20, 2024
@cmbz cmbz added the FY24 Sprint 26 FY24 Sprint 26 label Jun 20, 2024
@cmbz cmbz added this to the 6.3 milestone Jun 20, 2024
@landreev
Copy link
Contributor

While we are fixing this - can we also make the new feature itself (showing the source of the Harvested metadata in the facet) configurable/optional? Just like with the new license facet, it appears that this may not be something we actually want in our own prod. here at Harvard.
I'm personally ok with the new behavior being the default. But I'd like there to at least be a way to opt out of it. I.e., to be able to create a JVM option and keep the old behavior, of simply having one "Harvested" item in the "metadata source" facet.

@landreev
Copy link
Contributor

(p.s. I'm happy to contribute or consult)

landreev added a commit that referenced this issue Jun 24, 2024
@landreev landreev moved this from This Sprint 🏃‍♀️ 🏃 to In Progress 💻 in IQSS Dataverse Project Jun 24, 2024
@landreev landreev self-assigned this Jun 24, 2024
@landreev
Copy link
Contributor

Made a draft PR.

landreev added a commit that referenced this issue Jun 25, 2024
…l - it appears that it may have been missed in the original #10464 (? - will confirm). #10611
landreev added a commit that referenced this issue Jun 26, 2024
landreev added a commit that referenced this issue Jun 26, 2024
Resolved merged conflicts in config.rst and FeatureFlags.java #10611
@DS-INRAE DS-INRAE moved this to Done in Recherche Data Gouv Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Harvesting FY24 Sprint 26 FY24 Sprint 26 GREI Year 3 Year 3 GREI task GREI 3 Search and Browse Size: 3 A percentage of a sprint. 2.1 hours. Type: Bug a defect
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants