Page MenuHomePhabricator

ResourceLoader does not account for read-only mode
Closed, ResolvedPublic

Description

exception 'DBQueryError' with message 'A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: http://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: REPLACE INTO module_deps (

And I get no CSS on test2wiki currently because it's in read-only mode and trying to write to module_deps.


Version: 1.20.x
Severity: normal

Details

Reference
bz31044

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 21 2014, 11:55 PM
bzimport set Reference to bz31044.
bzimport added a subscriber: Unknown Object (MLST).

Looks kinda reasonable -- anything else needs to be done or is that ok to just merge to trunk & out?

MessageBlobStore still doesn't respect read-only mode. Other parts of RL need to be audited as well.

(In reply to comment #4)

MessageBlobStore still doesn't respect read-only mode. Other parts of RL need
to be audited as well.

Patch for this in https://gerrit.wikimedia.org/r/44183

(In reply to comment #5)

(In reply to comment #4)

MessageBlobStore still doesn't respect read-only mode. Other parts of RL need
to be audited as well.

Patch for this in https://gerrit.wikimedia.org/r/44183

Which has been merged.

https://gerrit.wikimedia.org/r/62534 (Gerrit Change Idc83a0) | change APPROVED and MERGED [by jenkins-bot]

Setting meta data correctly:

  • Reported as (new?) problem in 1.20
  • Landed during 1.21 development
  • Backported to stable (1.20)