Example "CMS Help Page" should be checked off as it does not exist in the front end build.
However the file config/sync/exclusion_types_admin.settings.yml that should house that data does not exist AND when you add it by configuring the UI, and drush cex and then try to import the changes, the following error occurs
10:41:47 » lando drush cim
Collection Config Operation
exclusion_types_admin.settings create
Import the listed configuration changes? (y/n): y
Drupal\Core\Config\ConfigImporterException: There were errors validating the config synchronization. [error]
Configuration <em class="placeholder">exclusion_types_admin.settings</em> depends on the <em class="placeholder">exclusion_types_admin</em> extension that will not be installed after import. in Drupal\Core\Config\ConfigImporter->validate() (line
755 of /app/docroot/core/lib/Drupal/Core/Config/ConfigImporter.php).
The import failed due for the following reasons: [error]
Configuration <em class="placeholder">exclusion_types_admin.settings</em> depends on the <em class="placeholder">exclusion_types_admin</em> extension that will not be installed after import.
This has caused the data to be lost.
To Reproduce
Steps to reproduce the behavior:
Go to '/admin/config/content/exclusion-types-form'
Check off "CMS Help Page"
Save the form
lando drush cex
lando drush cim
See error on import. Import does not occur.
Expected behavior
The appropriate data is added and persists across environments.
Additional context
The config name needs to change to va_gov_backend.exclusion_types
Description
Once #5069 has been completed and a single service for determining whether a node is a page is available, the exclusion types form should be removed if it has been made redundant, or updated to work with the new service if not.
Acceptance Criteria
[ ] Exclusion types form functions correctly or has been removed
Original Background
Describe the defect
This form is suppose to provide the source of truth as to which content types do not have a front end presence. https://prod.cms.va.gov/admin/config/content/exclusion-types-form
Example "CMS Help Page" should be checked off as it does not exist in the front end build.
However the file config/sync/exclusion_types_admin.settings.yml that should house that data does not exist AND when you add it by configuring the UI, and
drush cex
and then try to import the changes, the following error occursThis has caused the data to be lost.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The appropriate data is added and persists across environments.
Additional context
The config name needs to change to
va_gov_backend.exclusion_types
Description
Once #5069 has been completed and a single service for determining whether a node is a page is available, the exclusion types form should be removed if it has been made redundant, or updated to work with the new service if not.
Acceptance Criteria