Closed (fixed)
Project:
Event Repeat
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 May 2006 at 15:56 UTC
Updated:
1 Nov 2006 at 22:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
hunmonk commentedplease feel free to submit a patch for this additional functionality, as i have no immediate plans or interest in coding it... :)
Comment #2
Luca Lenardi commentedPatch for enabling og support on repeated events.
Comment #3
Egon Bianchet commentedI think you should unset the old array entries ... to avoid messing up with the node_access table
Comment #4
Luca Lenardi commentedThank you Egon you are right.
This patch unsets old array entries and also makes eventrepeat able to preserve organic groups when changes on future occurences are applied.
Comment #5
Luca Lenardi commentedComment #6
hunmonk commentedi'm extremely opposed to conditional code, ie 'if (module_exist)'--i think it leads to a real mess down the road, so i won't put anything in that uses this approach. can you restructure the patch to make this a mini-module that accesses a hook in eventrepeat? if the hooks are done well, then the patch has a good chance of making it in.
also, i don't understand og functionality very well, so i'd need several people to test this patch and provide feedback before i would consider committing it.
Comment #7
Egon Bianchet commentedI'd call a
hook_eventrepeat_update_nodesin_eventrepeat_update_nodesright before the call tonode_save. Modules implementing this hook would return the additions to be saved with the node.Regarding the patch, I think the code inside
_eventrepeat_render_nodesshould work inside said hook as well, since that$repeat_datacomes straight from the db where it was previously saved by_eventrepeat_update_nodes, right?Comment #8
hunmonk commentedsounds good.
this sounds right. i don't have time at the moment to do a thorough check of the code, so you may want to dig in there before you start with the patch... :)
Comment #9
Egon Bianchet commentedHere's a patch implementing the hook ...
Comment #10
Egon Bianchet commentedAnd here's the small module supporting og, however this patch is needed ...
Comment #11
hunmonk commentedlet's wait until the og module gets that patch or another fix applied before we go ahead with this...
Comment #12
hunmonk commentedlooks like the og patch was applied. i have a very large UI patch for event repeat that needs to go in before this one, then i'll get to this...
Comment #13
whatistocome commentedIt's been a month and a half - how close are we to incorporating this patch into eventrepeat?
Comment #14
seanbfuller commentedThis patch, and current cvs to 4.7 migration in general, is being help up by http://drupal.org/node/69920. Hopefully I'll be able to make some headway on this in the next week.
Comment #15
seanbfuller commentedFirst, apologies for taking so long on this issue. I've posted an alternate solution here. Please test if you get a chance:
http://drupal.org/node/87596
If it does not work, I'll implement the solution outlined above ASAP.
Comment #16
seanbfuller commentedSince no objections were raised, I committed http://drupal.org/node/87596, which should take care of this issue. Marking this as closed.