Closed
Bug 276522
Opened 20 years ago
Closed 20 years ago
setting icalComponent on an event shouldn't update lst-modified
Categories
(Calendar :: Internal Components, defect)
Calendar
Internal Components
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mvl, Assigned: shaver)
Details
Attachments
(2 files, 1 obsolete file)
|
3.85 KB,
patch
|
shaver
:
first-review+
|
Details | Diff | Splinter Review |
|
1.71 KB,
patch
|
shaver
:
first-review+
|
Details | Diff | Splinter Review |
When setting icalComponent on an event, the last-modified field gets updated to the current time. They should not change, since parsing doesn't actually change anything.
| Reporter | ||
Comment 1•20 years ago
|
||
Attachment #169940 -
Flags: first-review?(shaver)
| Reporter | ||
Comment 2•20 years ago
|
||
related: attaching an event to a calendar (after parsing it) also updates lastmodified. (due to the general makeMemberAttr().) I think it shouldn't.
| Reporter | ||
Comment 3•20 years ago
|
||
Updated patch. Also makes sure last-modified isn't updated when setting parent.
Attachment #169940 -
Attachment is obsolete: true
Attachment #169977 -
Flags: first-review?(shaver)
| Reporter | ||
Updated•20 years ago
|
Attachment #169940 -
Flags: first-review?(shaver)
| Reporter | ||
Comment 4•20 years ago
|
||
Comment on attachment 169977 [details] [diff] [review] patch v2 >Index: base/src/calEvent.js > clone: function () { >+ m.mDirty = false; Ignore that one, it isn't needed.
| Reporter | ||
Comment 5•20 years ago
|
||
This is also needed to keep lastmodified. MAke sure to read the date before cloning, and copy dirty info.
Attachment #169988 -
Flags: first-review?(shaver)
| Assignee | ||
Updated•20 years ago
|
Attachment #169988 -
Flags: first-review?(shaver) → first-review+
| Assignee | ||
Updated•20 years ago
|
Attachment #169977 -
Flags: first-review?(shaver) → first-review+
| Reporter | ||
Comment 6•20 years ago
|
||
patches checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•