Right now, when modules are partially in core, they are listed as "In core" with a warning icon next to it.

We decided that if notes exist for the module "in core" listing, it means the module is partially in core. This causes the warning icon to appear but does not change the "In core" text.

The solution should be that the notes also change the text to "Partially in core" and change the background to yellow.

Comments

philbar’s picture

The issue with assuming "Partially in core" with notes is cases such as FileField which has a note saying it replaces "Upload". FileField has a note, but is fully "In core".

sun’s picture

I guess that Upload should be a note for Drupal core itself (when Upload is installed)... that, however, would result in the "Partially in core" status for Drupal core :P

philbar’s picture

I think we should introduce "UPGRADE_STATUS_PARTIAL_CORE" and tag specific module with it.

Then instead of having the hackish:

    // US: Special handling for project moved into core.
    if (!empty($project['in_core_note'])) {
      $icon = theme('image', 'misc/watchdog-warning.png', t('warning'), t('warning'));
    }

We can have:

     case UPGRADE_STATUS_PARTIAL_CORE:
      default:
        $class = 'warning';
        $icon = theme('image', 'misc/watchdog-warning.png', t('warning'), t('warning'));
        break;
klonos’s picture

I agree with #3.

philbar’s picture

sun’s picture

#1025040: Improve upgrade status for CCK modules contains a concrete example that's very misleading in the UI currently.

xjm’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)