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

Dataset Template Parent Dataverse can be changed via ownerId query parameter #9468

Open
matthew-a-dunlap opened this issue Mar 22, 2023 · 0 comments
Labels
Component: JSF Involves modifying JSF (Jakarta Server Faces) code, which is being replaced with React. Feature: Publishing & Versions Type: Bug a defect User Role: Depositor Creates datasets, uploads data, etc. UX & UI: New React UI Needs enough design work that it should probably go in the new React UI, not JSF Vote to Close: pdurbin

Comments

@matthew-a-dunlap
Copy link
Contributor

matthew-a-dunlap commented Mar 22, 2023

Steps to reproduce:

  • Create dataset template under a dataverse and save.
  • Edit the saved dataset template, but change ownerId (dataverse id) in the url string to be a different ID (for example, use 1 for root)
  • Save the template. Now it will be under the new dataverse.

I discovered this issue in 5.12.1, writing selenium tests for FDA compliance. What probably should happen is that if the wrong ownerId is provided on edit the page should error? Maybe edit shouldn't need an ownerId at all?

@pdurbin pdurbin added Type: Bug a defect Feature: Publishing & Versions Vote to Close: pdurbin User Role: Depositor Creates datasets, uploads data, etc. Component: JSF Involves modifying JSF (Jakarta Server Faces) code, which is being replaced with React. UX & UI: New React UI Needs enough design work that it should probably go in the new React UI, not JSF labels Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: JSF Involves modifying JSF (Jakarta Server Faces) code, which is being replaced with React. Feature: Publishing & Versions Type: Bug a defect User Role: Depositor Creates datasets, uploads data, etc. UX & UI: New React UI Needs enough design work that it should probably go in the new React UI, not JSF Vote to Close: pdurbin
Projects
None yet
Development

No branches or pull requests

2 participants