Active
Project:
Scheduler
Version:
2.x-dev
Component:
Testing
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2024 at 12:19 UTC
Updated:
11 Oct 2024 at 08:32 UTC
Jump to comment: Most recent
When a site is installed and built by script, and modules enabled and config set via drush commands, the Scheduler fields for Taxonomy Terms remain hidden. The form display is not updated to show the fields, like it is for node content types.
View a Tugboat build, or install a site locally, including the following
drush pm:enable scheduler taxonomy
drush config-set taxonomy.vocabulary.tags third_party_settings.scheduler.publish_enable 1
drush eval "\Drupal::service('scheduler.manager')->resetFormDisplayFields()"
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
jonathan1055 commentedIn SchedulerManager resetFormDisplayFields() for some reason,
$form_display->isNew()is TRUE for the vocabulary default display, so the loop exits and does nothing.At the same point in the site build, the node, product and media forms all have
isNew()giving 0. I don't know why Taxonomy is different.Comment #3
jonathan1055 commentedAdding the issue where this problem was discovered.
Comment #4
jonathan1055 commentedModified the title, it is not just Tugboat previews - this happens when configuring a locally-built site using
drushcommands.Comment #6
jonathan1055 commentedCalling
vendor/bin/drush config-get devel.settingsseems to cause
Timeout (Tugboat Error 1085)Comment #7
jonathan1055 commentedGetting just the single item via
vendor/bin/drush config-get devel.settings debug_logfileproduced no error but also no output in the log.
Then adding a config-set
caused the build to fail.