In previous versions of dspace, I've made some changes to get the
submission form to reload when the user issues a request to submit an
item. The reason I did this was because I needed to change the
submission form based on who the user was. I know for sure I had this
working on 6.3, and I think I had it working on 7.4, but now I can't
get it going on 7.6. I wonder if anyone has tried this out. I know
that there is an PR in DRAFT state presently that addresses this
issue, but I'm wondering if anyone has found a "quick" solution for
this. Here is the PR I'm referring to:
https://github.com/DSpace/DSpace/pull/8864
This is the code I have been trying to change:
https://github.com/DSpace/DSpace/blob/main/dspace-api/src/main/java/org/dspace/app/util/DCInputsReader.java#L539
Ideally, I would like this function:
private void processValuePairs(Node e) in DCInputsReader.java
to run and for the changes in there to stick when the user starts the
submission. From looking at log outputs, I see the function runs when
the user starts the submission, but the changes don't stick. I have
some code in there that says if there is a user, do this..., Of
course, at start up there is no user, so that code does not run. But
once the user is logged in, there is a user, and the code runs, but
the submission form does not reflect the change.
Thank you!
-Jose