Closed Bug 270644 Opened 20 years ago Closed 19 years ago

UpdateLastModified() is not called when an event/todo is added to a calendar

Categories

(Calendar :: Internal Components, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: arusso, Assigned: mostafah)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

UpdateLastModified() is only called when an event/todo is modified but not when
it is added... I do not think this is a correct behaviour. It should only be a
couple of lines in AddEvent/AddToDo

 icalevent->UpdateLastModified();

But I prefer others more familiar with libxpical to do it. 

PS When an event/todo is added, stamp should have the equivalent value of
lastModified, I am not sure the call above will satisfy that...

Reproducible: Always
Steps to Reproduce:
libxpical is now obsolete.  When adding new events/tasks to an ics calendar i get a reasonable lastmodifiedtime.  I don't see any reason to keep this bug open.
libxpical is now obsolete.  When adding new events/tasks to an ics calendar i get a reasonable lastmodifiedtime.  I don't see any reason to keep this bug open.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Mass move of libxpical bugs to the Internal Components, per ctalbert.
Component: libxpical → Internal Components
The bugspam monkeys have been set free and are feeding on Calendar :: Internal Components. Be afraid for your sanity!
QA Contact: gurganbl → base
You need to log in before you can comment on or make changes to this bug.