Ticket #27 (defect)

Opened 7 years ago

Last modified 7 years ago

timezones - trapping for null or empty filename

Status: closed (fixed)

Reported by: johnsa Assigned to: douglm
Priority: minor Milestone:
Component: web client: admin Version:
Keywords: Cc:

PEUploadTimezonesAction.java does not trap an empty filename from the form; may need to look for an empty string?

Change History

02/28/06 16:17:29: Modified by johnsa

error message also not being trapped (not sure why).

03/01/06 11:37:37: Modified by johnsa

  • priority changed from trivial to minor.
  • summary changed from timzones - trapping for null or empty filename to timezones - trapping for null or empty filename.

03/01/06 15:00:46: Modified by douglm

  • status changed from new to closed.
  • resolution set to fixed.

Behaves a little better. The app doesn't see the filename. It uses the upload feature of struts.

It is given a reader to a non-existant file and an exception occurs on reading.

However, there could be a whole number of other errors here, an invalid filename, an unreadable file or a file not containing timezones for example.

We might be able to give better error messages - perhaps an enhancement?