Opened 16 years ago

Closed 16 years ago

#47 closed defect (fixed)

"Download Cal Files" fails

Reported by: DavidSmith Owned by: DavidSmith
Priority: major Component: web archive
Version: Keywords:
Cc:

Description

If you put a cal file in your cart and select "Download cal files only", it will load a page pointing to the downloads directory.

Also, if this option were selected, and no cal files were present in the cart, we would expect the same result.

This results from tarCalFiles returning an empty string. The code that calls it from query.php doesn't check the return value of tarCalFiles or output an error message if its empty.

so this ticket has 2 bugs

  • no error output if tarCalFiles returns empty
  • tarCalFiles returns empty even when there are cal files in the cart.

Change History (2)

comment:1 Changed 16 years ago by DavidSmith

Status: newassigned

I've added an error box for when tarCalFiles returns an empty string.

The second part of the bug is not a bug.

comment:2 Changed 16 years ago by DavidSmith

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.