[DuraSpace JIRA] (DS-3894) Facet "View More" link throws "No enum constant" when results are sorted

0 views
Skip to first unread message

Chris Herron (Atmire) (DuraSpace JIRA)

unread,
Apr 18, 2018, 11:14:01 AM4/18/18
to dspace-...@googlegroups.com
Chris Herron (Atmire) created an issue
 
DSpace / Bug DS-3894
Facet "View More" link throws "No enum constant" when results are sorted
Issue Type: Bug Bug
Affects Versions: 6.3, 7.0
Assignee: Unassigned
Components: Discovery
Created: 18/Apr/18 10:13 AM
Priority: Minor Minor
Reporter: Chris Herron (Atmire)

The "order" parameter is being erroneously reused for "View More" links which is causing an exception to be thrown. To reproduce issue: Perform a discovery search with results, sort results asc or desc. Click a facet's "View More" link. SearchFacetFilter tries to interpret "asc" or "desc" as a DiscoveryConfigurationParameters.SORT enum element. The solution to the issue is simply to rename the parameter to something else.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.3#73014-sha1:d5be8da)
Atlassian logo

Chris Herron (Atmire) (DuraSpace JIRA)

unread,
Apr 18, 2018, 11:17:01 AM4/18/18
to dspace-...@googlegroups.com
Chris Herron (Atmire) commented on Bug DS-3894
 
Re: Facet "View More" link throws "No enum constant" when results are sorted

After review, seems this issue may not be affecting 7.x

Anonymous (DuraSpace JIRA)

unread,
Apr 18, 2018, 12:19:01 PM4/18/18
to dspace-...@googlegroups.com
Issue was automatically transitioned when Chris Herron created pull request #2026 in GitHub
 
Change By: Chris Herron
Status: Received Code Review Needed

Tim Donohue (LYRASIS JIRA)

unread,
Jan 7, 2021, 2:59:01 PM1/7/21
to dspace-...@googlegroups.com
Tim Donohue updated an issue
Change By: Tim Donohue
Affects Version/s: 7.0
This message was sent by Atlassian Jira (v8.4.1#804002-sha1:94e96d6)
Atlassian logo

Alan Orth (LYRASIS JIRA)

unread,
Jun 21, 2021, 4:14:01 AM6/21/21
to dspace-...@googlegroups.com
Alan Orth commented on Bug DS-3894
 
Re: Facet "View More" link throws "No enum constant" when results are sorted

Also, seems to be fixed in DSpace 6.3 by this pull request:

https://github.com/DSpace/DSpace/pull/2026

Note that a later pull request was attempting to fix the same issue, but it had already been fixed by then:

https://github.com/DSpace/DSpace/pull/2369

This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Alan Orth (LYRASIS JIRA)

unread,
Jun 21, 2021, 4:18:01 AM6/21/21
to dspace-...@googlegroups.com
Alan Orth edited a comment on Bug DS-3894
Also, seems to be fixed in DSpace 6.3 by this pull request:

[https://github.com/DSpace/DSpace/pull/2026]

Note that a later pull request was attempting to fix the same issue, but it had already been fixed by then:

[https://github.com/DSpace/DSpace/pull/2369]

This issue should be marked as resolved in DSpace 6.3.

Tim Donohue (LYRASIS JIRA)

unread,
Jun 21, 2021, 1:32:02 PM6/21/21
to dspace-...@googlegroups.com
Tim Donohue closed an issue as Fixed
 
Change By: Tim Donohue
Fix Version/s: 6.3
Resolution: Fixed
Status: Code Review Needed Closed
Reply all
Reply to author
Forward
0 new messages