https://bugzilla.wikimedia.org/show_bug.cgi?id=41333

       Web browser: ---
             Bug #: 41333
           Summary: MF loads JS twice, has weird errors when database
                    error occurs in jobqueue
           Product: MediaWiki extensions
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MobileFrontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---


We had an exciting problem locally when Jon updated his test wiki but forgot to
run maintenance/update.php. Things appeared to be working fine until it started
failing to open the navigation menu.

On investigation, Jon determined this was due to JS being loaded twice: the
toggle thus happened twice and the navigation menu didn't stay open.

On further investigation, we found that going to the wiki straight, without
MobileFrontend, was showing a database error.

Running maintenance/update.php resolved the issue.


It looks like errors in the job queue (?) are triggering a second set of
output. I seem to remember similar problems outside of MobileFrontend in the
past, need to examine how the skins & error reporting manage this case.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to