Actions do not reset on sync

chx - September 15, 2008 - 05:20
Project:Drupal
Version:6.x-dev
Component:base system
Category:bug report
Priority:critical
Assigned:chx
Status:closed
Description

The current tests are enough to show this you just need to rewrite module_implements :D actions_synchronize badly needs this TRUE. 6.x too. Simply, when you resync you need to reset as well.

AttachmentSizeStatusTest resultOperations
resync_reset.patch513 bytesIgnoredNoneNone

#1

Dave Reid - September 15, 2008 - 06:13

Tested and works fine.

Looking around the actions_synchronize code, I'm not sure even why it needs the $actions_in_code parameter. The only time it isn't given actions_list() for that is when it is called from system_modules_submit. I'll file a separate issue for it, but just wanted to know what you think chx.

#2

Dave Reid - September 15, 2008 - 14:10

See #306540: Orphaned assigned actions still triggered and cannot be removed for proposed change to actions_synchronize.

#3

chx - September 15, 2008 - 13:53

There is one thing for sure, #298600: DBTNG: make module_implements work regardless of bootstrap phase is horribly broken without this.

#4

Dave Reid - September 15, 2008 - 14:33

Sorry about getting off track. I agree with chx that this is needed and the patch is good and tested fine. RTBC

#5

webchick - September 15, 2008 - 16:07
Status:reviewed & tested by the community» fixed

Committed. Thanks!

#6

Anonymous (not verified) - September 29, 2008 - 16:32
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#7

Damien Tournoud - December 20, 2008 - 03:50
Version:7.x-dev» 6.x-dev
Status:closed» reviewed & tested by the community

Need to get into 6.x too.

#8

Gábor Hojtsy - January 6, 2009 - 17:03
Status:reviewed & tested by the community» fixed

Committed to Drupal 6.x, thanks.

#9

System Message - January 20, 2009 - 17:10
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.