Xarigami

project tracker

Xarigami Core [key: xgami]

All trackers
Summary
Issue List
Road Map
Changelog

Issue xgami-000830

Issue summary Details
Project:
Xarigami Core
Key:
xgami-000830
Type:
Bug
Reporter:
Jo
Priority:
Normal
Severity:
Major
Status:
Closed
Resolution:
Implemented
Owner:
Jo
Due:
- xarigami cumulus 1.4.0
Milestone:
None

DD create and update hooks too late

Reported:  Apr 21, 2011 12:30 AM    Updated: Apr 21, 2011 06:49 AM by

Closed: Apr 21, 2011 06:49 AM    by Jo

Version affected: - xarigami cumulus 1.3.5

Create and update hooks in dynamic data are called too late for some hooked modules requirements.

New and modify are called too early for some DD. It was noticed that Articles for example do not check input for hooked properties and therefore any error handling for validation is not handled appropriately.

We cannot use create and update hooks if the update is invalid. Need another mechanism.

Actions

For now, we have a solution which is much dependent on the module that utilizes the dd hooks. Previously only Preview called checkinput in the hooks but we now have a 'switch' param to pass in to allow checkinput to be called in the new/modify hooks.

#