Deposit new work through collection does not populate collection assignment in Create Work form (nurax-pg)
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
- Log in as a user with at least deposit-level access to a shared Collection
- Go to Dashboard > Collections > Managed Collections and select a collection listed there
- Scroll down and click the Deposit new work through this collection button
- In the Create Work form, click the Relationships tab
- Observe that no Collection is populated
Nurax-pg (no collection assigned):

Nurax-dev equivalent steps (collection already assigned):
Related work
Link to related tickets or prior related work here.