I'm still seeing this bug on our DSpace 5.5 instance and I've also
just reproduced it on demo.dspace.org (6.0). I've filed a ticket on
the tracker:

https://jira.duraspace.org/browse/DS-3417

Cheers,

On Mon, Sep 12, 2016 at 2:22 AM,  <[email protected]> wrote:
> Hi,
>
> The error is occurring on this line:
>
> sortOrder= SORT.valueOf(request.getParameter("order").toUpperCase());
>
> and the fact that SORT only has two values, VALUE and COUNT. If you look at
> Joan's query strings order is there twice... The first one having 'ASC'.  I
> would suggest that the order=ASC either shouldn't be there, or there is an
> issue with order being used for two different functionalities.
>
> On Friday, 9 September 2016 01:38:16 UTC+10, Joan Caparros wrote:
>>
>> I have noticed the same strange behavior in my DSpace 6_x (branch master).
>>
>> If anyone is interested I have done all what he said in the demo and I
>> have got this url :
>>
>> http://demo.dspace.org/xmlui/search-filter?query=cal&sort_by=dc.title_sort&order=asc&rpp=10&field=subject&order=COUNT
>>
>> It seems to be related with something in this commit
>> https://github.com/DSpace/DSpace/commit/e20d006ee493fb98f6348ab9e2481225ce8f44a9
>>
>> Bests
>> Joan
>>
>> El 27/02/16 a les 18:51, Alan Orth ha escrit:
>>
>> Hi,
>>
>> I've just noticed that our DSpace 5.1 has an error when the user tries to
>> "View More" in a sidebar facet when their search results have been sorted.
>> The error is:
>>
>> No enum constant
>> org.dspace.discovery.configuration.DiscoveryConfigurationParameters.SORT.ASC
>>
>> This is how we produce the error:
>>
>> - Search for anything from the homepage
>> - Sort the search results by title or date
>> - Click "View More" on any sidebar facet
>>
>> I had a brief look in discovery.xml but didn't see anything obviously out
>> of line. Anyone have an idea what it might be?
>>
>> Thanks,
>> --
>>
>> Alan Orth
>> [email protected]
>> https://englishbulgaria.net
>> https://alaninkenya.org
>> https://mjanja.ch
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> .........................................................................
>>
>> Joan Caparrós
>> Tècnic de Projectes
>> Consorci de Serveis Universitaris de Catalunya (CSUC)
>>
>> Gran Capità, 2 (Edifici Nexus)•08034 Barcelona
>> T.93 551 6204•F.93 205 6979•[email protected]
>> www.csuc.cat •Twitter @CSUC_info•Facebook•Linkedin
>> Subscriu-te al butlletí; (www.csuc.cat/butlleti)
>> .........................................................................
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.



-- 
Alan Orth
[email protected]
https://englishbulgaria.net
https://alaninkenya.org
https://mjanja.ch
"In heaven all the interesting people are missing." ―Friedrich Nietzsche
GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to