Closed Bug 1186547 Opened 10 years ago Closed 10 years ago

mReadOnly and mDisabled do not reflect readOnly and disabled properties

Categories

(Calendar :: Provider: CalDAV, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Fallen, Assigned: Fallen)

References

Details

Attachments

(1 file)

See bug 674088 for details: """ Then, I looked at the "minor error" code, this is obviously not a minor error. I've noticed that changing mReadOnly and mDisabled does not actually change the properties "readOnly" and "disabled". I've fixed this by removing mDisabled and mReadOnly and just using the property getters directly. """
Attached patch Fix - v1 β€” β€” Splinter Review
r+ from the other bug
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Attachment #8637361 - Flags: review+
Attachment #8637361 - Flags: approval-calendar-release+
Attachment #8637361 - Flags: approval-calendar-beta+
Attachment #8637361 - Flags: approval-calendar-aurora+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 4.3
Target Milestone: 4.3 → 4.2
Target Milestone: 4.2 → 4.0.2
Target Milestone: 4.0.2 → 4.3
Target Milestone: 4.3 → 4.2
Target Milestone: 4.2 → 4.0.2
This still needs to be checked in to cc - setting checkin-needed for this.
Blocks: ltn402
Keywords: checkin-needed
This patch is bitrotted for cc when applyied on top of the one from https://bugzilla.mozilla.org/show_bug.cgi?id=674088#c21
Whiteboard: [comm-centra]
url: https://hg.mozilla.org/comm-central/rev/bdc31ac73a9af77519a613c794cf8c7a2d989a8b changeset: bdc31ac73a9af77519a613c794cf8c7a2d989a8b user: Philipp Kewisch <mozilla@kewis.ch> date: Sat Aug 08 11:05:38 2015 +0100 description: Fix bug 1186547 - mReadOnly and mDisabled do not reflect readOnly and disabled properties. r=MakeMyDay
Keywords: checkin-needed
Whiteboard: [comm-centra]
Is the 2nd checkin from comment 6/7/8 required for comm-central too?
Flags: needinfo?(philipp)
Looking at http://mxr.mozilla.org/comm-central/source/calendar/providers/caldav/calDavCalendar.js#1888 this has already happened in the patch for bug 674088. There was a bit of a mess with the push messages here.
Flags: needinfo?(philipp)
Could this be responsible for the regression reported in Bug 1195800 / Bug 1195974?
Yes, quite likely. I've set bug 1195974 to be tracked for 4.0.3
Depends on: 1195974
Patch was backed-out from Lightning 4.5, 4.4, 4.3 and 4.0 with Bug 1195974. Follow up in Bug 1201862.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: