[ http://jira.dspace.org/jira/browse/DS-689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kim Shepherd resolved DS-689. ----------------------------- Resolution: Fixed I'm happy with this small fix, but welcome review/disagreement (committing early/often tonight...) > DisplayStatisticsServlet throws NPE if requested handle is null, should throw > 404 > --------------------------------------------------------------------------------- > > Key: DS-689 > URL: http://jira.dspace.org/jira/browse/DS-689 > Project: DSpace 1.x > Issue Type: Bug > Components: JSPUI > Affects Versions: 1.6.0, 1.6.1, 1.6.2 > Reporter: Kim Shepherd > Assignee: Kim Shepherd > Fix For: 1.7.0 > > Attachments: DisplayStatisticsServlet.java, > DS-689_JSPUI_Statistics_404.patch > > > DisplayStatisticsServlet throws a generic exception if the dso returned by > HandleManager.resolveToObject is null. > It should throw a 404. > (and a reminder that it'd be cleaner and better to have URLs like > /jspui/handle/12345/123/statistics than /jspui/displaystats?12345/123... mea > culpa -- I'll open a different issue for that so possible impact to > bookmarked stats pages etc can be discussed) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.dspace.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel