Noticed in #1804702-77: Display interface translation status

Problem/Motivation

Disabling project error

Disabling tamper lead to errors like

Notice: Undefined index: wysiwyg in locale_translation_status() (line 620 of core/modules/locale/locale.pages.inc).
Notice: Trying to get property of non-object in locale_translation_status() (line 620 of core/modules/locale/locale.pages.inc).

gives these 3 lines (core, tamper, wysiwyg) in the expanded details:

    Drupal core (8.x-dev). No translation files are provided for development releases.
    (no version). File not found at http://ftp.drupal.org/files/translations/8.x/locale_tamper/locale_tamper-.af.po nor at translations://locale_tamper-.af.po
    (7.x-2.1+28-dev). No translation files are provided for development releases.

The name for tamper project (and wysiwyg project which tamper provided?) are missing, but I think both of those whole lines should be gone.

uninstall projects

after uninstalling block and tamper,
in the expanded details it says:

No updates found for 2 projects

    Drupal core (8.x-dev). No translation files are provided for development releases.
    (7.x-2.1+28-dev). No translation files are provided for development releases.

[note a fix in other issue makes it say Drupal core]
di-u01-2012-12-08_0439.png

Proposed resolution

Do not check and do not list projects that have been disabled or uninstalled.

Remaining tasks

User interface changes

No UI changes.

API changes

No API changes anticipated.

Comments

sutharsan’s picture

Status: Active » Closed (won't fix)

This is only related to Locale Tamper module which does thing quick and dirty. It forces a list of modules upon Locale module but the modules don't exist. Normal modules are uninstalled, but Locale Tamper does not take care of this. IMHO this is not a core issue and a won't fix for Locale Tamper.

yesct’s picture

that makes sense.

yesct’s picture

Issue summary: View changes

Updated issue summary subheadings