Problem/Motivation

To allow admins to quickly determine what has not been packaged, we generate an 'unpackaged' pseudo-package.

Currently, on the features export form, a checkbox appears for that package, as if it could be generated as a feature (which it cannot).

Proposed resolution

In a #pre_render callback, remove access to the checkbox for the 'unpackaged' pseudo-package.

User interface changes

The checkbox no longer appears.

Comments

nedjo created an issue. See original summary.

nedjo’s picture

Status: Active » Fixed

  • nedjo committed 24cb1cb on 8.x-3.x
    Issue #2581303 by nedjo: Don''t show checkbox for 'unpackaged' pseudo-...

Status: Fixed » Closed (fixed)

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

nedjo’s picture

Status: Closed (fixed) » Active

Reopening. The checkbox is now not displayed on initial form loading. However, if you change the bundle, the Ajax-loaded form displays the 'unbundled' checkbox.

  • nedjo committed 82d0c6e on 8.x-3.x
    Issue #2581303 by nedjo: explicitly invoke pre_render callback when form...
nedjo’s picture

Status: Active » Fixed

Applied a workaround fix, documented in code comments added in the commit:

    // We should really be able to add this pre_render callback to the 
    // 'preview' element. However, since doing so leads to an error (no rows
    // are displayed), we need to instead explicitly invoke it here for the
    // processing to apply to the Ajax-rendered form element.

Status: Fixed » Closed (fixed)

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