[
https://jira.duraspace.org/browse/DS-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robin Taylor resolved DS-763.
-----------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
Marked as resolved since the supplied patch fixes the problem. I'll raise a new
Jira for Mark Wood's suggested better fix.
> StringIndexOutOfBoundsException occurred in DCDate.java
> -------------------------------------------------------
>
> Key: DS-763
> URL: https://jira.duraspace.org/browse/DS-763
> Project: DSpace
> Issue Type: Bug
> Components: DSpace API
> Affects Versions: 1.7.0
> Reporter: Keiji Suzuki
> Assignee: Robin Taylor
> Fix For: 1.7.0
>
> Attachments: DSDate.java.patch
>
>
> The following exception has occurred in 1.7.0 RC1 because the length of some
> Japanese manth's name is two. Attached patch will fix this.
> java.lang.StringIndexOutOfBoundsException: String index out of range: 3
> at java.lang.String.substring(String.java:1934)
> at org.dspace.content.DCDate.displayUTCDate(DCDate.java:518)
> at org.dspace.content.DCDate.displayDate(DCDate.java:487)
> at org.dspace.app.webui.util.UIUtil.displayDate(UIUtil.java:249)
> at
> org.dspace.app.webui.jsptag.BrowseListTag.doStartTag(BrowseListTag.java:483)
> (snip)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel