Closed Bug 1359967 Opened 7 years ago Closed 5 years ago

"self not defined" in oauthConnect method

Categories

(Calendar :: General, defect)

Lightning 1.3
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mkmelin, Assigned: mkmelin)

References

Details

Attachments

(1 file)

Attached patch bugXXX_self_not_defined.patch (deleted) — Splinter Review
+++ This bug was initially created as a clone of Bug #682474 +++

I keep seeing a "self not defined" error.
I'm didn't investigate exactly what problem it causes, but the fix is pretty clear.

Apparently this code was added in bug 682474
Attachment #8862120 - Flags: review?(philipp)
Comment on attachment 8862120 [details] [diff] [review]
bugXXX_self_not_defined.patch

Review of attachment 8862120 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks for the patch! I don't know how I missed that.
Attachment #8862120 - Flags: review?(philipp) → review+
Attachment #8862120 - Flags: approval-calendar-beta+
Attachment #8862120 - Flags: approval-calendar-aurora+
https://hg.mozilla.org/comm-central/rev/f41d24c7cdde0697e9c3e029705e80493ea4be50
https://hg.mozilla.org/releases/comm-beta/rev/71dde03413c7e8d31bcbba342ab87f8251a73bbb

I didn't push to aurora because we've basically removed it, let me know if this is wrong.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Yes, and please remove the Aurora approval.

BTW, it would have been better to let me handle the landings since I have some lined up in the next few hours.
Comment on attachment 8862120 [details] [diff] [review]
bugXXX_self_not_defined.patch

I understand, but Wayne was looking to build beta so I took care of this one. Thanks for helping out!
Attachment #8862120 - Flags: approval-calendar-aurora+
Target Milestone: --- → 5.5
This depends on bug 682474 which hasn't been uplifted to ESR yet.
That should be fine, this doesn't need uplift to ESR until bug 682474 is uplifted.
Comment on attachment 8862120 [details] [diff] [review]
bugXXX_self_not_defined.patch

a+ since you requested approval for the dependent patch
Attachment #8862120 - Flags: approval-calendar-esr+
TB 52 ESR, Calendar 5.4.x:
https://hg.mozilla.org/releases/comm-esr52/rev/2e1b58d59899
Target Milestone: 5.5 → 5.4.2
I doubt this caused the gmail problems. What the backout means is basically caldav oauth won't connect so you probably broke calendar authentication. (At least for some cases, didn't look exactly how this is used.)

I suggest to add this back on esr.
Flags: needinfo?(jorgk)
This got backed out at part of backing out bug 682474. Quoting Phillip's e-mail on tb-drivers:

Jörg:
> do I back out bug 1176399 alone or also bug 682474 and
> bug 1359967.

Philipp:
They are connected, so you'd have to back them all out.
Flags: needinfo?(jorgk)
Ah, I see. But 682474 caused this but that got backed out.
Beta (TB 55, Calendar 5.7) backout:
https://hg.mozilla.org/releases/comm-beta/rev/e927b799e817d3b3066f166077541ca986fa902e
Target Milestone: 5.5 → 5.8
Backout from trunk:
https://hg.mozilla.org/comm-central/rev/74c3098a32249610e77573a56c920f9f92a55830

Sorry, I had to back this out since the next merge date is coming and I can't continue to back it out from all the betas we ship.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 5.8 → ---
This got relanded together with other stuff at some point.
Status: REOPENED → RESOLVED
Closed: 7 years ago5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 6.5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: