Most relation fields (except Author) do not display their relations in the Submission form. #1094
Labels
bug
component: configurable entities
related to configurable entities
component: submission
e/4
Estimate in hours
high priority
Milestone
Describe the bug
The majority of relation fields (except the Author field on the Publication form) do not display their selected relations in the submission form.
Known Relation fields that work:
Know Relation fields that do not work:
Fields that do not work all exhibit the same behavior. You can select a relation & it appears to be created. However, after closing the popup, the relation does not appear on the form.
While all the fields that do not work have the same configuration, changing their configuration (e.g. to repeatable or to allow free-text entry) doesn't seem to allow them to work. They continue to behave in the same manner, regardless of configuration.
To Reproduce
My testing environment:
main
branch ofdspace-angular
(as of April 12, 2021)main
(again from April 12) including having Patch Add entire array with virtual values does not work DSpace#3224 applied/merged.One example which doesn't work (Linking a new Issue to an existing Volume)
Another example which doesn't work (Linking a new Person to an existing Publication)
An example which works (Linking a new Publication to an existing Person)
I've also attempted changing fields from non-repeatable to repeatable (no effect on results) and other minor configuration changes. It's currently unclear to me why the Author field works while others do not.
Further testing
Because of the discussion in #1092, I attempted to rollback
dspace-angular
to before #1025 was applied. This had seemingly no effect on the results above. I still cannot get relationships to work.Here's how I rolled back my UI to before #1025:
Again, after those steps, I retested the above examples & got the same results. The Author field works while others do not.
Expected behavior
All relation fields (regardless of backend configuration) should show display their selected value(s) in the Submission Form. Obviously some are only allowed one value, while others can have multiple values (depending on the
repeatable
setting).Related work
Related to discussions in #1092 , but this bug seems unrelated to repeatable fields in my opinion.
The text was updated successfully, but these errors were encountered: