Project

General

Profile

Actions

Patch #15295

closed

Log error messages when moving attachements in sub-directories

Added by Jérôme BATAILLE about 11 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Attachments
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

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.


Files

Actions #2

Updated by Jean-Philippe Lang about 11 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.

Actions #3

Updated by Jérôme BATAILLE about 11 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 !

Actions #4

Updated by Jérôme BATAILLE over 7 years ago

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

Actions #5

Updated by Toshi MARUYAMA over 7 years 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.

Actions

Also available in: Atom PDF