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

mushahu lumpa commented on DS-1432:
-----------------------------------

Hi,

I have not read the contribution guidelines, but since this is a quick one, i 
guess someone will be able to take it from here.

I reproduced this bug in firefox 18.0 and opera 12.12, and in the mentioned 
script, discovery-results.js. replacing the line:

form.attr('action', form.attr('action').replace('/discover', '') + 
'/dso-display');

with 

form.attr('action', form.attr('action').replace('/discover', 'dso-display');

fixes the problem.

thanks,

-m
                
> back button in Discovery broken in Firefox
> ------------------------------------------
>
>                 Key: DS-1432
>                 URL: https://jira.duraspace.org/browse/DS-1432
>             Project: DSpace
>          Issue Type: Bug
>          Components: Discovery, XMLUI
>    Affects Versions: 3.0
>         Environment: Firefox 14, 17 on Windows 7
> Iceweasel 10 on Debian 7
>            Reporter: Sara Amato
>            Assignee: Kevin Van de Velde
>            Priority: Major
>             Fix For: 3.1
>
>
> Tested on http://demo.dspace.org/xmlui/
> 1) search for anything, e.g. 'image'
> 2) click on first item in search results
> 3) click on the back button in browser
> Expected result: Should return to the search results
> Actual result: Redirected to 
> http://demo.dspace.org/xmlui/dso-display/dso-display, which doesn't exist, so 
> a "Resource not found" page is displayed
> The relevant JavaScript which does the redirect for purpose of Solr 
> statistics collection is here:
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/static/js/discovery/discovery-results.js#L22

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

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to