Omeka icon indicating copy to clipboard operation
Omeka copied to clipboard

Figure out better handling of errors in beforeSave callback / hook

Open patrickmj opened this issue 8 years ago • 0 comments

If something goes wrong enough in a beforeSave callback that it should stop saving, there's not a good way to prevent later callbacks/hooks from changing data on the record object, which can then get passed back to an edit page with misleading data.

See https://github.com/omeka/plugin-ExhibitBuilder/issues/104

patrickmj avatar Jan 24 '17 18:01 patrickmj