[ 
http://jira.dspace.org/jira/browse/DS-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Donohue updated DS-471:
---------------------------

    Fix Version/s: 1.6.1

>From discussion during DSpace Developers Mtg on Feb 17 2010 ( 
>http://www.duraspace.org/irclogs/index.php?date=2010-02-17 )

It was decided to wait for 1.6.1 to resolve this issue.  Seems to not be overly 
serious, and 1.6.0 is almost complete.  Anyone needing a more immediate fix can 
apply the small patch attached to this issue.

[15:40] <tdonohue>  http://jira.dspace.org/jira/browse/DS-471  : Accessing 
site-level 'mets.xml' in XMLUI doesn't work properly for handle prefixes with 
periods (e.g. 2010.1)
[15:41] <tdonohue> Note: DS-471 came across dspace-devel - The patch is small, 
but I haven't had a chance to verfy it
[15:41] <kshepherd> i tested this patch, it works
...
[15:41] <tdonohue> should we let DS-471 into 1.6.0? Or wait for 1.6.1 -- 
thoughts?
[15:41] <kshepherd> that too..
[15:42] <tdonohue> (I'll admit, I don't know how many people encounter DS-471 
-- so, I don't know if it's a minor or major annoyance)
[15:43] <tdonohue> Ok, I'll stand out on a limb and vote +1 1.6.0 for DS-471
[15:44] <kshepherd> yeah +1, since handle prefixes are rightly treated as 
strings everywhere else, pretty much
[15:45] <mhwood> +0, I'd need more context than the patch gives to feel better 
about it
[15:46] <kshepherd> but i'm thinking most of our 1.6.0 pushes should just be 
the bugs found during testathon?
[15:47] <tdonohue> kshepherd: yes..essentially, I'd like to limit 1.6.0 pushes 
to just necessary bug fixes... (whether they are found specifically in 
testathon doesn't matter to much to me)
[15:48] <tdonohue> so, the question is, is this a *necessary* bug fix...for 
now, it sounds like we are wavering, so we probably should wait for 1.6.1 
afterall
[15:48] <kshepherd> i think waiting would be fine
[15:48] <tdonohue> DS-471 summary: +2, with questions...wait for 1.6.1 release
[15:48] <kshepherd> the tiny minority who use dots in handle prefixes can grab 
the patch from JIRA ;)

> Accessing site-level 'mets.xml' in XMLUI doesn't work properly for handle 
> prefixes with periods (e.g. 2010.1)
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: DS-471
>                 URL: http://jira.dspace.org/jira/browse/DS-471
>             Project: DSpace 1.x
>          Issue Type: Bug
>          Components: XMLUI
>    Affects Versions: 1.5.2, 1.6.0
>            Reporter: Tim Donohue
>            Priority: Minor
>             Fix For: 1.6.1
>
>         Attachments: DSpaceMETSGeneratorPatch.txt
>
>
> This issue was reported by Paulo Jobim on the 'dspace-devel' listserv.  I've 
> verified that this issue also occurs on the latest trunk code (pre-1.6.0).
> To recreate this problem, change your 'handle.prefix' in dspace.cfg to 
> include a period (e.g. "123456789.1"), restart Tomcat, and then visit the 
> following URL in the XMLUI: (remember to change "123456789.1" to your handle 
> prefix)
> /metadata/internal/repository/123456789.1/mets.xml
> Without the period in the handle prefix, the above URL would correctly return 
> the site-wide metadata in a METS package.  But, if you have a period in the 
> handle prefix, you instead receive the following error:
> java.lang.NumberFormatException: For input string: "123456789.1"
>       at 
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>       at java.lang.Integer.parseInt(Integer.java:458)
>       at java.lang.Integer.valueOf(Integer.java:554)
>       at 
> org.dspace.app.xmlui.cocoon.DSpaceMETSGenerator.resolveAdapter(DSpaceMETSGenerator.java:187)
>       at 
> org.dspace.app.xmlui.cocoon.DSpaceMETSGenerator.generate(DSpaceMETSGenerator.java:124)
>         ...

-- 
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

        

------------------------------------------------------------------------------
Download Intel&reg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to