After exporting a bunch of auto-detected packages, the checkbox to the left of each one has disappeared. I had thought it only removed the checkbox for packages that cannot be exported (like empty features).

I even made a change to a content type and it properly shows the "Changed" label but the checkbox to select it and export it from the front page still isn't shown.

Comments

mpotter created an issue. See original summary.

mpotter’s picture

Status: Active » Needs review
StatusFileSize
new1.05 KB

The original reasoning for hiding the checkbox for uninstalled modules is when a feature module is first moved to a new site, the config doesn't yet exist in Active store, and if you edited the uninstalled feature and exported it again you could lost the original config.

With the latest beta1 this seems to work better. If you move a package to a site without the active config and then click the link to edit the package, change it and click Write, it still keeps the original *.yml config files. This config is marked as "missing" when viewing the details of the package on the main features listing page.

So it doesn't seem like it is causing any data loss anymore.

In any case, found the routine that was hiding the checkbox. Removed the test for uninstalled modules. This restores the checkbox on a site that just exported the module that is uninstalled (where the active config already exists). But it still hides the checkbox in the case that this module is moved to a new site.

So, I think this simple change preserves the original intent while addressing the problem in this issue. And even when the checkbox is missing they can still edit and export the feature without losing config.

  • mpotter committed 97af8e7 on 8.x-3.x
    Issue #2699773 by mpotter: Checkbox not shown for some exported features
    
mpotter’s picture

Status: Needs review » Fixed

Committed to 97af8e7.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.