Menu

#40 Can not delete an event

open
nobody
Page edit (10)
5
2004-03-18
2004-03-07
No

RC2 build

I added a couple of events from WikiHome (that is
where I first clicked the event button) and now I can
not delete them.

I am seeing an 'Index was outside the bounds of the
array' when calling WikiCalendar.Singleton().DeleteEvent
(...) line in WikiEvents.aspx.cs

Discussion

  • Eric GROISE

    Eric GROISE - 2004-03-16

    Logged In: YES
    user_id=725748

    I can't reproduce it. Can you please please send me
    your /pub directory.

     
  • Eric GROISE

    Eric GROISE - 2004-03-16
    • status: open --> pending
     
  • Robert Brinton

    Robert Brinton - 2004-03-18
    • status: pending --> open
     
  • Robert Brinton

    Robert Brinton - 2004-03-18

    Logged In: YES
    user_id=135065

    After a bit more testing I believe I have isolated the two
    causes of my issue. The first can be demonstrated by adding
    an event to any page. Then go to another page and bring up
    its events. The event from the first page will be shown and
    will cause an error if you attempt to delete it.

    (Note: I am using XML storage and it may be related to that
    storage.)

    The second scenario involves changing the default time from
    12:00:00 AM to the start time of the event (for example
    schedule a dinner that starts at 06:00:00 PM or 18:00:00).
    This new event appears to be undeletable from any page.

    I think we should limit the display of events on WikiEvents to
    the events added to that page.

    I also think that we should either search on the whole
    timestamp in the event or prevent the user from changing the
    default time. (If the prevent method is chosen, it would be
    better to not even display the time in the entry box or on the
    calendar page.

     

Log in to post a comment.

MongoDB Logo MongoDB