Active
Project:
Date
Version:
7.x-2.x-dev
Component:
Date Repeat API
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Sep 2012 at 05:50 UTC
Updated:
13 Jun 2019 at 07:00 UTC
Jump to comment: Most recent
Comments
Comment #1
FreeAndEasy commentedI'd like to know that too. I have the same problem.
@date repeat api developer
Y YOU STORE DIS IN DB??
Comment #2
asiby commentedCorrection and clarification: I double checked and I am not sure if the repeat values are being stored in the DB. But I do know that they are being displayed when the node is viewed. It's way too much information. The repeat information is not even relevant to the end user. Simply showing something like every Monday at noon from January 1st 2012 to January 1st 2013 is more logical and easier to understand than showing bunch of dates.
Since we didn't receive any reaction to this issue, I will go ahead and try to write a small module that will suppress this behaviour of the date module.
Comment #3
FreeAndEasy commentedhey asiby, unfortunately all date repeats are stored in the db...
I had a discussion about this with the author of the date repeat api here: http://groups.drupal.org/node/221229#comment-782368
She dodged the issue in the end, so don't get your hopes up that she will make the date repeat api usable :(
Comment #4
technotim2010 commentedClearly there is a need for change here.
Date repeats works in many cases has various issues.
One is as you've outlined memory efficiency, another is that views support is ok but in my opinion limiting.
A third is what happens if you have a repeating event but one of those events is slightly different, it could be time or other content or fields related to it. For example the last repeated event before 25th December is the Christmas Party.
I have been looking for a solution that broke out repeated dates so each date was it's own node. There are various D6 and a couple of D7 contributed modules for this but none is satisfactory. see https://drupal.org/node/894680. This approach is good for all sorts of reasons as it meets the use case where a repeated date instance needs to be different, it
In a presentation at a conference Karen the main committer of the date module intimated that date repeat needs looking at, but that it will not be in D8 Core, this is actually an opportunity presenting itself.
If the Date Team proceed with "Date in Eight" as it is known, but if the api is monitored for changes (and the "nodeapi" side of core as well) then the opportunity exists to create a better date repeat that MAY be more memory efficient, meet the needs of anyone who wants better Views integration of repeating dates and meet all sorts of other requirements.
So as I see it the solution would:
These are my thoughts but based on studying, testing and working with date based nodes and entities for a couple of years and is entirely up for discussion. It would be nice to have some input from the Date module and date repeat module devs as to how plausible this is.
Comment #4.0
technotim2010 commentedFixed a typo
Comment #5
damienmckennaComment #6
steinmb commentedOld issue but still contain valid points so I think we should keep it open, but perhaps change the scope to a meta task trying to address memory consumption regarding date repeat with many entries?