-
Notifications
You must be signed in to change notification settings - Fork 500
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
Content placed in the "Terms of Access" field via dataset templates does not appear in datasets created with those templates #7217
Comments
I was able to verify this - and that others Terms fields do copy (I tried a Data Access Place and Confidentiality Declaration. I looked at the code and line 265 of TermsOfUseAndAccess.java (copyTermsOfUseAndAccess method) shows them being set, so something less obvious is clearly going on.
|
It's also true of the request access checkbox - my guess is that it's related to this. That both of these are getting unset because there are no files (no restricted files, in particular). |
More specifically, (and this is still just a guess), there's a popup on that page that sets both those fields (and shows up if you restrict files). So, the hypothesis is that it is replaces the values from the template with these empty values. The solution should be to populate the values into the popup (this also makes sense because when the popup comes up, these should default to the values from the template). |
Thank you for your feedback @scolapasta! (And sorry for this late reaction. I was on holiday.) |
Might be fixed in V 5.3??? Works OK in demo.dataverse.org (V5.3) I have observed this in V5.2..... |
There have been issues related what @shlake is referring to, but as far as I know they are fixed in some version - i can't recall if in the released 5.3 or in a PR that is already merged in develop and slated for 5.4. (Offhand, I don't know if those fixes solve the problem for which this issue was opened). |
Hi - since we expect this is fixed in the current version, I'll close this issue. If we are wrong and it's still actually an issue, feel free to comment with details for it to be reopened. :) |
I went ahead and refreshed my memory on the fixes I mentioned above; and tried in demo. All of the above should be working in 5.3. So as @djbrooke if you do see anything else related to this not working, let us know. |
Version: 4.20
Greetings,
It seems that the field "Terms of Access" in the Terms section of a dataset cannot receive content from dataset templates. We've done several tests and the field always remains empty, whether a file was added to the dataset or not. We want to prepopulate it by the use of templates to inform depositors that, if they have chosen a template for datasets with restricted access, they must fill in the "Terms of Access" field.
Possibly related to #2565.
[Edit] I just ran a test to see if this problem also occurs in Demo Dataverse: it does.
The text was updated successfully, but these errors were encountered: