[ 
https://jira.duraspace.org/browse/DS-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=28579#comment-28579
 ] 

Keiji Suzuki commented on DS-1153:
----------------------------------

I checked the code.

In JSPUI, the default index is set if a non-existent type is set. And the type 
of the default index is 'item' 
and 'value' or 'authority' is set, this error occurs.

In XMLUI, this error occurs if a non-existent type is set.

So, I made a patch along the following logic.

1) Add the default index in XMLUI like JSPUI.
2) Unset 'value' and 'authority' if the type of the default index is 'item'.

pull request: https://github.com/DSpace/DSpace/pull/256
                
> Server Error on invalid browse type with value
> ----------------------------------------------
>
>                 Key: DS-1153
>                 URL: https://jira.duraspace.org/browse/DS-1153
>             Project: DSpace
>          Issue Type: Bug
>          Components: JSPUI, XMLUI
>    Affects Versions: 1.8.2
>            Reporter: Alex Lemann
>
> This is broken on my local 1.7.2 as well as demo.dspace.org (1.8.2).
> On 1.7.2 changing this:
> http://demo.dspace.org/jspui/browse?type=author&order=ASC&rpp=20&value=1%2C+1
> to this:
> http://demo.dspace.org/jspui/browse?type=broken&order=ASC&rpp=20&value=1%2C+1
> Gives you a 500 Server error rather than a 404 and generates an error email.
> also, this isn't working on the DSpace demo, but it works on my install:
> http://demo.dspace.org/jspui/browse?type=broken
> And it's broken in xmlui too:
> http://demo.dspace.org/xmlui/browse?type=broken

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

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to