Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsRecurring Event "Repeat until date" Should be opionalRecurring Event "Repeat until date" Should be opional
Previous
 
Next
New Post
6/25/2006 10:25 AM
 
Currently, when i add a recurring event, i am forced to set a "Repeat until date".  Should this field be optional?.  Also, when i set the repeat until date to "12/31/9999", i got the following error;

Error: Edit Event is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The added or subtracted value results in an un-representable DateTime. Parameter name: value ---> System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime. Parameter name: value at System.DateTime.AddTicks(Int64 value) at System.DateTime.Add(Double value, Int32 scale) at System.DateTime.AddDays(Double value) at Microsoft.VisualBasic.DateAndTime.DateAdd(DateInterval Interval, Double Number, DateTime DateValue) at DotNetNuke.Modules.Events.EventInfoHelper.AddEventRecurrences(EventInfo oEventEvent, DateTime SelectBeginDate, DateTime SelectEndDate) at DotNetNuke.Modules.Events.EventInfoHelper.LoadEventDateRange(Int32 ModuleID, DateTime BeginDate, DateTime EndDate, Boolean Initialize) at DotNetNuke.Modules.Events.EditEvents.updateButton_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

Setup=DNN 4.3.1, SQL Server 2005
Any ideas?
 
New Post
7/5/2006 5:22 PM
 

Not sure if I read it in this project blog or elsewhere, but never ending recurring events can cause huge storage needs. First consider that recurring events always have to deal with the exceptions - say, over a holiday period or conflicts with vacation or another activity.

There are various ways for dealing with these, but one technique (I do NOT know that this is what DNN uses however) is to take a recurring event and write out all the individual events - making exceptions easy to deal with. This requires having an end date, and should mention that far off end dates (e.g., Dec. 31, 2999) could chew up lots of storage space unnecessarily.

 
New Post
7/14/2006 3:16 AM
 
Hi VashJuan,

are you saying that a recurring event is recorded multiple times in the DB?.  I would have expected that the event would only be recorded in the DB once.  When the calendar is displayed, the business logic layer would recognise that the event is recurring and render it in the calendar based on the recurring settings.

Is this not how it works?


 
New Post
7/14/2006 12:42 PM
 

I suspect you are right about the DNN Events module. As far as I've seen it handles recurring events but not deviations from that pattern.

I was referring to more sophisticated programs that do handle exceptions and allow you to change one or more instances of an event without killing the normal recurrance. If you've Microsoft Outlook, for instance, you can manually change a meeting date that falls on a holiday.

I do NOT know the DNN events module very well, I'm just speculating that this MIGHT be a reason they need an end date, if they plan to add exceptions to recurring events in the future.

 

- J

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsRecurring Event "Repeat until date" Should be opionalRecurring Event "Repeat until date" Should be opional


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out