Bram Luyten (@mire) created DS-1464:
---------------------------------------

             Summary: StatisticsServlet attempts to show JSP twice when there 
are no reports
                 Key: DS-1464
                 URL: https://jira.duraspace.org/browse/DS-1464
             Project: DSpace
          Issue Type: Bug
          Components: JSPUI, Statistics
    Affects Versions: 3.0, 1.8.2
            Reporter: Bram Luyten (@mire)


Due to a missing return statement, showJSP is executed twice if there are no 
report files present.

first forward:
https://github.com/DSpace/DSpace/blob/master/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/StatisticsServlet.java#L168

second forward:
https://github.com/DSpace/DSpace/blob/master/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/StatisticsServlet.java#L260

a return statement after L168 should fix this

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to