Hi Andrea,

> Is there anything useful in the dspace log file?

Not really - running at DEBUG, I can see when the CC Licence step is being 
accessed - the below snippet is what I get when I click "Next" to go to the CC 
Licence step:

2015-08-11 11:06:16,803 DEBUG org.dspace.app.webui.servlet.SubmissionController 
@ Calling Step Class: 'org.dspace.submit.step.CCLicenseStep'
2015-08-11 11:06:16,805 DEBUG org.dspace.app.webui.submit.JSPStepManager @ 
Doing pre-processing for step org.dspace.app.webui.submit.JSPStepManager
2015-08-11 11:06:17,294 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "SELECT * FROM MetadataValue WHERE resource_id= ? and 
resource_type_id = ? ORDER BY metadata_field_id, place"  with parameters: 91,1
2015-08-11 11:06:17,295 DEBUG org.dspace.app.webui.util.JSPManager @ 
michael.wh...@stir.ac.uk:session_id=7FF301D30EC1B9F9E67AFAB59C07A542:ip_addr=139.153.115.7:view_jsp:/submit/creative-commons.jsp

- but as I select radio buttons on the CC Licence page, and click "Select a 
Licence", things appear to proceed in the browser but nothing else is logged 
beyond this point - when I click "Select a licence" to determine the 
appropriate CC licence - I'm presented with a page that says:

--------------------------------------------------------
provided by Creative Commons
You have selected the Attribution 4.0 International License.
This licence is permanently located at
http://creativecommons.org/licenses/by/4.0/.

You may now proceed
--------------------------------------------------------

- with proceed being a hyperlink that points to: 
http://datastorre.stir.ac.uk/submit/cc-license.jsp?license_url=http%3A//creativecommons.org/licenses/by/4.0/,
 but when I click that link on the CC Licence page, the iFrame just goes blank 
and nothing further happens (so I can't get beyond this step), and nothing is 
added to the logs beyond the log entries that appeared when I first accessed 
the CC Licence step :-(

If I Cancel out from the empty page, and then Save, and then go back in to Edit 
the record, I can see that the value "An error occurred on the license name." 
has been added to dc.rights, and an "empty" (bar one line containing 
"<result>") license_rdf file has been added to the bitstreams . . . .

> HTTPS vs HTTP should not make any difference to this. However, a network
> proxy would -- does your DSpace instance have direct access to the Internet?

I believe so (we've not had a web proxy here for many years), but I don't work 
at that level so I'm not 100% sure (but I'm certainly going to double check) - 
the fact that I do get the page that shows the licence that applies suggests to 
me that my DSpace is making contact with Creative Commons, but I could be 
mistaken (is the licence selection logic held in DSpace, or is this retrieved 
from CC in real time?). Is the behaviour I'm seeing (i.e. that CC Licence 
selection appears to complete up to the point of clicking "Proceed" when it 
hangs) what would happen if a proxy was in play but not configured in DSpace?

So, I'm still stuck with this - does anyone have this working in v5.2, JSPUI? 
Did this "just work" for you after uncommenting the step in 
item-submission.xml? or did you have to do anything special to get it working?

Many thanks as ever,

Mike

Michael White
eLearning Developer
Information Services

T: (01786) 466877
E: michael.wh...@stir.ac.uk
A: S8, Library, University of Stirling, Stirling, FK9 4LA 

-- 
The University is ranked in the QS World Rankings of the top 5% of universities 
in the world (QS World University Rankings, 2014)
The University of Stirling is a charity registered in Scotland, 
 number SC 011159.

------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to