Share

Heritrix: Internet Archive Web Crawler

Tracker: Bugs

7 Web UI recovery mangles paths - ID: 1200957
Last Update: Comment added ( karl-ia )

When disk-path is empty and logs-path is an absolute
pathname ending in a slash, recovering a job through
the web UI makes a new logs subdirectory corresponding
to ${logs-path}/-R rather than. ${logs-path}-R. So,
for example, if I specify no disk-path and my logs-path
is /home/karl/heritrix/logs/ , I get recovered logs in
/home/karl/heritrix/logs/-R rather than
/home/karl/heritrix/logs-R. Having a directory named
-R makes use of some shell tools very awkward on
Un*x-like systems.

The same apparently holds true for the state-path.


Karl Thiessen ( karl-ia ) - 2005-05-12 19:57

7

Closed

Fixed

Karl Thiessen

Usability/UI

1.6.0

Public


Comments ( 4 )

Date: 2007-03-14 00:51
Sender: karl-ia


This issue is now discussed in the new JIRA tracker at
http://webteam.archive.org/jira/browse/HER-407 -- please add further
comments at that location.


Date: 2005-10-17 21:31
Sender: karl-ia

Logged In: YES
user_id=1269624

Fix confirmed; an error in teh test harness was masking it
for way too long. Moving test into regression harness after
a week; closing bug.


Date: 2005-09-22 23:39
Sender: gojomoProject Admin

Logged In: YES
user_id=144912

Added check-and-remove of '/' in base-path, so '-R' doesn't
become its own directory. Commit comment:

Fix for [ 1200957 ] Web UI recovery mangles paths
* CrawlJobHandler.java
when appending '-R' to avoid path-collision, ensure '-R'
is a suffix, not own directory, by removing any trailing '/'
on base-path.

Assigning to Karl for verification/close.



Date: 2005-05-12 20:00
Sender: karl-ia

Logged In: YES
user_id=1269624

This bug was orginally reported to Igor by Florian.

There is a reproducible test case in the IA test harness
under this bug ID: 1200957.


Attached File

No Files Currently Attached

Changes ( 7 )

Field Old Value Date By
resolution_id None 2005-10-17 21:31 karl-ia
close_date - 2005-10-17 21:31 karl-ia
status_id Open 2005-10-17 21:31 karl-ia
artifact_group_id None 2005-09-23 18:29 gojomo
assigned_to gojomo 2005-09-22 23:39 gojomo
assigned_to stack-sf 2005-09-22 17:54 gojomo
priority 5 2005-09-22 17:54 gojomo