losing cc license when going back.

30 views
Skip to first unread message

Jose Blanco

unread,
Dec 6, 2021, 8:24:14 PM12/6/21
to DSpace Technical Support
When entering an item with a cc license, if I choose a cc license and then go to the next tab, which is the complete deposit page, and then go back to the tab where I chose the cc license, and then I move forward a tab, I lose the cc license I entered originally. I found this in 6.3 xmlui.  I tried to replicate it on the demo site, but it does not seem to be working presently since I get an error right after the 1st tab.  I'm wondering if this is a known bug and if there is a patch for it.

Thank you!
-Jose

Jose Blanco

unread,
Dec 13, 2021, 3:39:07 PM12/13/21
to DSpace Technical Support
Just to have it in this thread, this was caused by some local customization.  I had accidentally commented out some code in:

dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/submission/submit/CCLicenseStep.java


This code was accidentally commented out:


           selectList.addOption(T_select_change.getKey(), T_select_change);

           if(T_select_change.getKey().equals(selectedLicense)) {

              selectList.setOptionSelected(T_select_change.getKey());

           }



-Jose

Reply all
Reply to author
Forward
0 new messages