Page MenuHomePhabricator

Keys added through Special:Translate/manage result in Fatal error: Call to a member function getNamespace() on a non-object
Closed, ResolvedPublic

Description

If message keys are added for FileBasedMessageGroups in Special:Translate/manage, those keys cannot be translated immediately. Doing so results in PHP Fatal error: Call to a member function getNamespace() on a non-object in Translate/utils/TranslationHelpers.php on line 78.

The work-around is running Translate/scripts/createMessageIndex.php. That's awkward, though. These groups are maintained from the web UI, but a shell script action is needed before it works, or worse, it dies.

When adding/removing keys through Special:Translate/manage, the message index should also be updated.


Version: unspecified
Severity: major

Details

Reference
bz21785

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:48 PM
bzimport set Reference to bz21785.

Does not appear to happen anymore. Not sure when this was fixed exactly.