@@ -272,6 +272,7 class IssuesController < ApplicationController | |||
|
272 | 272 | if issue.save |
|
273 | 273 | moved_issues << issue |
|
274 | 274 | else |
|
275 | logger.info "issue could not be updated or copied: #{issue.errors.full_messages}" if logger && logger.info | |
|
275 | 276 | # Keep unsaved issue ids to display them in flash error |
|
276 | 277 | unsaved_issue_ids << issue.id |
|
277 | 278 | end |
@@ -198,6 +198,7 class TimelogController < ApplicationController | |||
|
198 | 198 | time_entry.safe_attributes = attributes |
|
199 | 199 | call_hook(:controller_time_entries_bulk_edit_before_save, { :params => params, :time_entry => time_entry }) |
|
200 | 200 | unless time_entry.save |
|
201 | logger.info "time entry could not be updated: #{time_entry.errors.full_messages}" if logger && logger.info | |
|
201 | 202 | # Keep unsaved time_entry ids to display them in flash error |
|
202 | 203 | unsaved_time_entry_ids << time_entry.id |
|
203 | 204 | end |
General Comments 0
You need to be logged in to leave comments.
Login now