Export to GitHub

tongue-tied - issue #103

breadcrumb not working on Export Listing page broken


Posted on Mar 25, 2010 by Massive Rabbit

Version Info TongueTied: 1.3.5 OS: Fedora release 12 (Constantine) Java: 1.6 Browser: 3.6.2

What steps will reproduce the problem? 1. make an export 2. from /export choose the directory with your export 3. from inside export directory - try to go back to /export directory by either clicking breadcrumb ('/export') or by clicking on the folder icon.

What is the expected output? To go back to the export listing directory

What do you see instead? You have /null appended to breadcrumb. See screenshots.

Attachments

Comment #1

Posted on Mar 28, 2010 by Happy Giraffe

This problem only seems to affect linux users. Using windows, the problem does not occur.

Comment #2

Posted on Mar 28, 2010 by Happy Giraffe

Problem is actually with the tomcat on linux. I am guessing because of JSTL lib in tomcat, though I have not confirmed the exact reason. It was easier just to fix. Root cause was an empty variable in a JSTL tag is interpreted as "null" not an empty string and hence the links created in the fileListing.jsp get out appended with the value "null". I have added a line to initialise the variable to an empty string. This should fix the problem.

Comment #3

Posted on Mar 28, 2010 by Happy Giraffe

Hi Kyle,

Let me know if you want the fix before an offical release. As a workaround for now the browser back button will work too.

Comment #4

Posted on Mar 31, 2010 by Massive Rabbit

Thanks for making the fix and offering to make it available. I can wait for an official release though. Cheers

Status: Fixed

Labels:
OpSys-Linux Type-Defect Priority-Medium Component-UI Usability