I have two content types "content" and "legal" and some fields and permissions written to Datastore via configuration.

"drush cgt" lists the content_type, field and permission components, but:
(a) gives a PHP warning for strlen() and wordwrap() for each component.
strlen() expects parameter 1 to be string, array given output.inc:282
wordwrap() expects parameter 1 to be string, array given output.inc:216
(b) Under the Status heading, each component is described as "ActiveStore only" but they are all listed in tracked.inc and under version control.
(c) No hashes are listed, despite the hashes being listed in tracked.inc

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Chi’s picture

Version: 7.x-2.0-alpha3 » 7.x-2.x-dev
Status: Active » Needs review
FileSize
1.38 KB

Just did it as configuration_ui_config_status() does. It seems configuration::getStatus() doesn't work.
I think we should use common api function for getting component status everywhere.

dagmar’s picture

Issue summary: View changes
FileSize
1.24 KB

getStatus() is not working because the configuration is not being loaded properly. Lets try with this patch.

dagmar’s picture

Status: Needs review » Fixed

Committed and Pushed #2. Thanks @Chi @jonathan_hunt

Status: Fixed » Closed (fixed)

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

Chi’s picture

Status: Closed (fixed) » Needs work

The command displays incorrect status (Overriden) for all identifiers.

Chi’s picture

Status: Needs work » Needs review
FileSize
637 bytes

This works for me.

cthos’s picture

Edit: That went bonkers, going to reroll.

cthos’s picture

Status: Needs review » Reviewed & tested by the community

Disregard #7, I was on -alpha3 still.

RTBC this patch works fine.

  • dagmar committed 0981d81 on 7.x-3.x authored by Chi
    Issue #2079913 by dagmar, Chi | jonathan_hunt: Drush cgt gives PHP...