Opened 8 years ago

Closed 8 years ago

#709 closed (fixed)

Upload file allows to save without selecting a local file

Reported by: gregory Owned by: olle
Milestone: Proteios SE 2.14.0 Keywords:
Cc:

Description

This should not be possible. An error message should be written telling the user what is missing.

Change History (4)

comment:1 Changed 8 years ago by olle

  • Status changed from new to assigned

Ticket accepted.

comment:2 Changed 8 years ago by olle

(In [3909]) Refs #709. Class/file action/file/SaveFile.java in client/servlet/ updated to display an error message if no file has been selected:

  1. Public method void runMe() updated to check that the name

of a file item is not null or an empty string before attempting to save the item. If no item name exists, the method returns with an error message set that asks the user to select a file to upload.

comment:3 Changed 8 years ago by olle

(In [3911]) Refs #709. Class/file action/file/SaveFile.java in client/servlet/ updated by removal of unused import.

comment:4 Changed 8 years ago by olle

  • Resolution set to fixed
  • Status changed from assigned to closed

The ticket is closed, as a solution has been found to the described problem. Should the problem reappear, or undesired side effects to the current solution be seen, this ticket may be reopened, or a new ticket created.

Note: See TracTickets for help on using tickets.