Project

General

Profile

« Previous | Next » 

Revision dba6a81b

Added by Marc Dequènes over 15 years ago

  • ID dba6a81bf7e3ffa1413705d69285a5f97a6a32d9

[evol] preliminary (dirty) work on hooks

View differences:

bin/shadowwalker
if modification_done
missing_fields = item.missing_attributes
### temporarily deactivated
# It is needed to test preliminary work on hooks.
# This check should be moved into the save() method, raise an exception is any problem,
# and exceptions caught in a centralized place in this file.
missing_fields = []
unless missing_fields.empty?
STDERR.puts "Cannot save the modifications; the following fields are missing:"
missing_fields.each do |field|

Also available in: Unified diff