Closed Bug 473211 Opened 17 years ago Closed 17 years ago

Weave status-bar changes from "offline" to "[username]" 5 minutes after a Firefox window appears. (but doesn't actually sign in)

Categories

(Cloud Services :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dholbert, Unassigned)

References

Details

Attachments

(2 files)

STR: 1. Set up Weave to *not* connect each time you start Firefox. (open weave context menu, select "Preferences", and uncheck the "Automatically connect..." checkbox) 2. Quit Firefox 3. Start Firefox. 4. Wait 5 min 5. Open a new window with Ctrl+N 6. Wait 5 min. EXPECTED RESULTS: - Weave status-bar should show "Offline" in all Firefox windows from step 3 onwards. ACTUAL RESULTS: * After step 3: - Weave status-bar shows "Offline" (This is expected.) * After step 4: - Weave status-bar magically changes to "dholbert" (my username) at precisely 5 minutes. - If I open Weave's context menu, "Sync Now" is now available. However, if I select it, no actions occur. Also, "Sign In" is still available (which it shouldn't be if I'm actually signed in) So this makes me think it hasn't *actually* signed me in yet -- it's just confused. * After step 5: - The newly-opened window shows status "Offline" even though the other one showed my Weave username. * After step 6: - Weave status-bar magically changes to "dholbert" (my username) in the new window. My version info: * Browser: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090112 Minefield/3.2a1pre * Addon: Weave v0.2.98 * OS: Linux (Ubuntu 8.10 "Intrepid")
Daniel, does the logs show Weave tried to log in?
No -- they show that it tried to do an auto-sync 5 min after I start Firefox, though. Below are the relevant bits from the verbose log. (I've just snipped out the "HistoryTracker" entries, as those seem unrelated to this.) *** FIREFOX STARTS *** 2009-01-12 13:27:30 Service.Main INFO Weave Service Initializing 2009-01-12 13:27:30 Service.Main CONFIG Weave scheduler enabled *** 5 MINUTES LATER *** 2009-01-12 13:32:30 Service.Main INFO Running scheduled sync 2009-01-12 13:32:30 Service.Main DEBUG Event: weave:service:sync:start 2009-01-12 13:32:30 FaultTolerance DEBUG Original exception: aborting sync, not logged in Async stack trace: module:wrap.js:164 :: WeaveCatchAllWrapper module:wrap.js:94 :: WeaveNotifyWrapper module:service.js:272 :: WeaveSvc__onSchedule module:util.js:435 :: innerBind module:util.js:475 :: EL_notify Last callback created at module:wrap.js:133 :: WeaveLocalLockWrapper 2009-01-12 13:32:30 Service.Main DEBUG Event: weave:service:sync:success
Blocks: 468694
Target Milestone: -- → 0.3
Daniel, is this fixed now in 0.2.99? I believe it is.
Nope, it's still present in 0.2.99 -- status bar reads "offline" initially, and then changes to show username after 5 min, with both "sign on" and "sync now" available in the status menu at that point. There's one additional symptom now, though -- I also get a "warning sign" appearing in the status bar after ~ 5 min, and when I click it, I get a pop up notification with a number of copies of this message: "Error While Syncing" / "Weave encountered an error while syncing. You might want to try syncing manually".
I see. Sounds like we are not disabling the sync timer when you are offline.
This seems to have been fixed in Weave ver 0.2.100 -- yay! Resolving as WORKSFORME. Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090213 Minefield/3.2a1pre
Oh yes, I actually fixed this on purpose, but forgot to close the bug :)
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Component: Weave → General
Product: Mozilla Labs → Weave
QA Contact: weave → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: