Hi, Hamish -- 

We had the same problem; I posted on it a couple of days ago.  There are 
several places in three of the submission jsps  where L ocaleSupport statements 
are used to write links, and the quotation marks in the links are not escaped 
properly; we fixed the problem by escaping the quotes (with a \ character).   


The files involved, with line numbers: 

submit/edit-metadata.jsp, lines 990 and 997 
submit/show-uploaded-file.jsp, lines 122, 203 and 210 
submit/review.jsp, line 97     



Please feel free to contact me directly if this isn't clear. 


Cheers, 


Bill 



----- Original Message ----- 
From: "Hamish Brett" <[EMAIL PROTECTED]> 
To: [email protected] 
Sent: Wednesday, August 13, 2008 3:04:53 AM GMT -05:00 US/Canada Eastern 
Subject: [Dspace-tech] Submission Error 


Hi 
  
Just upgrading to 1.5, when I go to submit an item it allows me to select the 
collection and then once selected if the item is published before or not I 
receive an Internal Error , with the logs reporting this below. Any ideas 
  
Thanks 
  
Hamish 
  
2008-08-13 16:27:35,302 ERROR org.dspace.app.webui.servlet.SubmissionController 
@ Error loading step class'org.dspace.submit.step.DescribeStep': 
org.apache.jasper.JasperException: /submit/edit-metadata.jsp(990,31) Attribute 
value  LocaleSupport.getLocalizedMessage(pageContext, "help.index") + 
"#describe2" is q 
uoted with " which must be escaped when used within the value 
        at 
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
 
        at 
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) 
        at 
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198) 
        at org.apache.jasper.compiler.Parser.parseQuoted(Parser.java:301) 
        at 
org.apache.jasper.compiler.Parser.parseAttributeValue(Parser.java:250) 
        at org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:212) 
        at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:155) 
        at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1252) 
        at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1467) 
        at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1675) 
        at 
org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1022) 
        at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1290) 
        at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1467) 
        at org.apache.jasper.compiler.Parser.parse(Parser.java:138) 
        at 
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216) 
        at 
org.apache.jasper.compiler.ParserController.parse(ParserController.java:103) 
        at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:154) 
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:315) 
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295) 
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282) 
        at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586) 
        at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) 
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) 
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) 
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 
        at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
 
        at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
 
        at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
 
        at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
 
        at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:91) 
        at 
org.dspace.app.webui.submit.JSPStepManager.showJSP(JSPStepManager.java:395) 
        at 
org.dspace.app.webui.submit.step.JSPDescribeStep.showEditMetadata(JSPDescribeStep.java:239)
 
        at 
org.dspace.app.webui.submit.step.JSPDescribeStep.doPreProcessing(JSPDescribeStep.java:142)
 
        at 
org.dspace.app.webui.submit.JSPStepManager.doStepStart(JSPStepManager.java:310) 
        at 
org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:275) 
        at 
org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:407)
 
        at 
org.dspace.app.webui.servlet.SubmissionController.doNextStep(SubmissionController.java:477)
 
        at 
org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:423)
 
        at 
org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:345)
 
        at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)
 
        at 
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105) 
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) 


IMPORTANT: This email remains the property of the Australian Defence 
Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 
1914. If you have received this email in error, you are requested to contact 
the sender and delete the email. 

  

  
------------------------------------------------------------------------- This 
SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build 
the coolest Linux based applications with Moblin SDK & win great prizes Grand 
prize is a trip for two to an Open Source event anywhere in the world 
http://moblin-contest.org/redirect.php?banner_id=100&url=/ 
_______________________________________________ DSpace-tech mailing list 
[email protected] 
https://lists.sourceforge.net/lists/listinfo/dspace-tech 

-- 
Bill Anderson 
Software Developer 
Digital Library Development 
Georgia Tech Library 
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to