Closed (fixed)
Project:
State Machine
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2013 at 00:20 UTC
Updated:
20 May 2013 at 19:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
stevectorComment #2
stevectorGoing over this with Robeano now. Need to add a test for unpublishing from revisions tab.
Comment #3
stevectorHere are more tests.
Comment #4
stevectorThis patch has a corresponding issue in Workbench Moderation: #1973396: Support unpublishing when there is an active forward revision
Comment #5
robeano commentedI had to make a minor edit to get the tests to run: Updated class state_flow_entity_handler_field_state_flow_states_history_list in the pre_render() method to not pass $values by reference (which is fixed in another issue) - state_flow_entity_handler_field_state_flow_states_history_list.inc line 29.
Tests PASSED. Code reviewed: No changes needed. We're all set here.
Comment #6
stevectorThanks robeano. BTW, the pass-by-reference was fixed in http://drupalcode.org/project/state_machine.git/commit/8aaf3bb9f6e2e4b7c...
I committed this patch in http://drupalcode.org/project/state_machine.git/commit/da8dfc4b391e9c37a...