hyrax icon indicating copy to clipboard operation
hyrax copied to clipboard

Deposit new work through collection does not populate collection assignment in Create Work form (nurax-pg)

Open eporter23 opened this issue 3 years ago • 0 comments

Descriptive summary

As part of QA testing in Nurax-pg: Hyrax 3.3 for Collection Sharing, a user with Deposit or higher access can use the Deposit New Work through this collection option to deposit directly into a collection they have access to. The Create Work form, however, is not auto-populating the collection assignment.

Rationale

Per current functionality, the "deposit new work through this collection" option should automate the correct collection relationship being assigned. Users should not have to go to the Relationships tab to manually add the collection.

Expected behavior

The collection should automatically be populated in the Relationships tab of the Create Work form, and the collection relationship should be assigned upon save.

Actual behavior

The Relationships tab shows no collection assignment. A user must know to check the Relationships tab, search for the correct collection name, and assign it before saving.

Steps to reproduce the behavior

  1. Log in as a user with at least deposit-level access to a shared Collection
  2. Go to Dashboard > Collections > Managed Collections and select a collection listed there
  3. Scroll down and click the Deposit new work through this collection button
  4. In the Create Work form, click the Relationships tab
  5. Observe that no Collection is populated

Nurax-pg (no collection assigned): Screen Shot 2022-03-29 at 11 01 24 AM

Nurax-dev equivalent steps (collection already assigned):

Screen Shot 2022-03-29 at 10 42 38 AM

Related work

Link to related tickets or prior related work here.

eporter23 avatar Mar 29 '22 15:03 eporter23