I have now incorporated this PR:
https://github.com/DSpace/DSpace/pull/8864

And my change to DCInputsReader.java is still not working.  I can tell
from the log file that the code executes, but the submission form
looks exactly the same as it is setup at startup.  Not sure what to do
next.

-Jose

On Fri, Aug 4, 2023 at 1:20 PM Jose Blanco <[email protected]> wrote:
>
> 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

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-s74QBmvpDn8rwhs6pDTKO608OOGFNxRFrKYy_1yqH2mA%40mail.gmail.com.

Reply via email to