[
https://jira.duraspace.org/browse/DS-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18275#action_18275
]
Robin Taylor commented on DS-763:
---------------------------------
Good suggestion from Mark Wood, but I've commited the patch from Keiji in the
meantime just in case I dont get a chance to look at this again before 1.7 is
released.
> 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
> 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
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel