-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Obsoleted resource maps are shown in the download dropdown menu #537
Comments
If a metadata document is in multiple resource maps that are not in the same obsolescence chain, that dropdown menu will appear so they can choose which package to download. |
@laurenwalker What I am confused by is how does the user know which package they want? It just numbers them 1-3. |
Yeah, it's not a very informative interface. It has been a rare case in our repositories so we haven't dedicated the time to improving it. |
The problem with this is that it is not clear which dataset is the current
one. Is the last dataset the current one?
…On Wed, Mar 28, 2018 at 12:18 PM, Lauren Walker ***@***.***> wrote:
Yeah, it's not a very informative interface. It has been a rare case in
our repositories so we haven't dedicated the time to improving it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#537 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABfGcVxCRXFrJiQPyZ2YDphlWPO8KUs_ks5ti-IagaJpZM4S-9T6>
.
|
Based on my observations it looks like the resource maps are ordered in
upload date in ascending order. Is that correct?
…On Fri, Mar 30, 2018 at 7:48 AM, Valerie Hendrix ***@***.***> wrote:
The problem with this is that it is not clear which dataset is the current
one. Is the last dataset the current one?
On Wed, Mar 28, 2018 at 12:18 PM, Lauren Walker ***@***.***>
wrote:
> Yeah, it's not a very informative interface. It has been a rare case in
> our repositories so we haven't dedicated the time to improving it.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#537 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABfGcVxCRXFrJiQPyZ2YDphlWPO8KUs_ks5ti-IagaJpZM4S-9T6>
> .
>
|
I believe they are ordered semi-arbitrarily based on the ordering received from the Solr index |
This is a symptom of having a metadata-centric system - the search on the DataCatalogView (#data) returns science metadata objects, so when a science metadata object is in more than one package/resource map, we don't really have a way of determining which package is the "current one" that the user is interested in downloading. So ultimately they need to choose which package they want to download. This has been a rare case in the DataONE world since science metadata documents are usually only in one dataset, so we haven't flushed out that dataset selection UI. Is this is a common occurrence in your repository? |
@vchendrix - Ok, I see the issue you are talking about now. I'll create a separate ticket for the download dropdown menu UI improvements, since that is a different issue than this bug. @gothub - It looks like Val found a bug in the prov editor where a new resource map is created and the old resource maps are not obsoleted in the system metadata. Let me know if you have the time to look into this and if not, I can. |
Ack, sorry it looks like I didn't investigate far enough before I commented on this ticket. The resource maps ARE obsoleted correctly, it's just the dropdown menu that is wrong. I'll slate this into a 2.0.1 release. |
I created the above referenced Metacat issue to solve this bug, which is ultimately caused by a Solr index bug, not a MetacatUI bug. When the Solr index is fixed, the messed-up download buttons will resolve themselves. Will keep track of the progress there. |
After some discussion with the dev team, this may not be a Metacat issue after all. Reopening. |
Download Dropdown Menu IssueIssue description: When a metadata document is aggregated by more than one resource map in the same obsolence chain, both obsoleted packages and their newer versions are shown in the download dropdown menu. This issue is primarily caused after a package is updated with the provenance editor. Original github issue: #537 Expected behavior: The search result row should show a dropdown menu so the user can select which package s/he wants to download. Only the most recent version of the packages that contains this metadata document should be shown in the menu. Example:Metadata document
Provenance relationships are added to the resource map and this new version is given id
In this example, the search result row in MetacatUI would have a download dropdown menu with two choices:
Now, let's say the data owner creates a new resource map,
Ideally, the download menu would have the choice to download either SolutionsThere are a few different options to solve this issue: A. MetacatUI sends another (sigh) Solr query to determine if any of the resource maps listed in the Solr B. We add a new Solr field that contains only the newest resource map identifiers. In the example above, the Solr document for
C. When there are multiple packages, we disable the download button, and add a tooltip that instructs users to click to go to the dataset landing page and see the list of packages to choose from. The MetadataView renders a table for each unobsoleted resource map. Anyone feel free to share input if interested. I am leaning towards solution C |
Option C seems good to me.
…On Tue, Jul 31, 2018 at 1:31 PM Lauren Walker ***@***.***> wrote:
I typed up a description of this bug and some solutions here:
https://hackmd.io/kcnViO5ZSEGx1u2L7aonBw?view
Anyone feel free to share input if interested. I am leaning towards
solution C in the hackpad above.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#537 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABfGcSfnjrlGnbtiL6gLpMvHCRvOGT8Rks5uML6agaJpZM4S-9T6>
.
|
I am going to move forward with Option C. |
…he download button and display a tooltip instead of showing a dropdown menu of the datasets. Closes #537
This has been fixed by changing the |
If a user creates data derivations, thus resulting in multple resource maps for a data package why would the user be allowed to download all the different resulting data packages and not the most current one?
Multiple data package downloads
This is confusing. It seems to me that the user should only be able to download the current data package.
The text was updated successfully, but these errors were encountered: