Download & Extend

Why is "save post" trigger automatically added...

Project:Workflow
Version:6.x-1.x-dev
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

when I add a trigger for "Make post private to its groups"?

Comments

#1

Lots of actions update a node object in memory, but do not save it to the database.

They flag this by setting 'changes_node_property' in their hook_action_info() definition.

trigger_assign_form_submit() picks up on that property, and appends node_save_action to the list of actions.

#2

Status:active» closed (fixed)

Thanks for the explanation. I assume I should just leave it as is, and not delete any of these "save post" triggers because it won't interfere with the intended action.

#3

Yes, deleting the "save post" action would mean that the changes made by the other action would be lost.

nobody click here