Patch #15295

Log error messages when moving attachements in sub-directories

Added by Jérôme BATAILLE about 5 years ago. Updated over 1 year ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Attachments
Target version:2.4.0

Description

It's about the rake task :
rake redmine:attachments:move_to_subdirectories

This patch adds error messages to the console for the files that could not be moved.

RM_15295_attachement_file_move_to_subdir_error_messages_RM_V2.3.2.diff Magnifier (1.12 KB) Jérôme BATAILLE, 2013-11-07 16:05

Associated revisions

Revision 12249
Added by Jean-Philippe Lang about 5 years ago

Log errors when moving attachments (#15295).

History

#2 Updated by Jean-Philippe Lang about 5 years ago

  • Subject changed from Attachement move in sub-directories : error messages to Log error messages when moving attachements in sub-directories
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.4.0

I don't really like the puts and echo calls in the model. The error messages are added to the log file instead.

#3 Updated by Jérôme BATAILLE about 5 years ago

Jean-Philippe Lang wrote:

I don't really like the puts and echo calls in the model. The error messages are added to the log file instead.

It's perfect for me. thanks a lot for having reviewed this patch !

#4 Updated by Jérôme BATAILLE over 1 year ago

Hi, you can indicate in the Resolution that's it's Fixed, if you have the time to, thanks a lot.

#5 Updated by Toshi MARUYAMA over 1 year ago

Jérôme BATAILLE wrote:

Hi, you can indicate in the Resolution that's it's Fixed, if you have the time to, thanks a lot.

"patch" tracker does not have "resolution" filed.

Also available in: Atom PDF