Problem/Motivation

When I tried to write tests to this module I had this error

Drupal\Tests\nginx_proxy_manager_connector\Functional\NginxProxySettingsFormTest::testSettingsForm
Drupal\Core\Config\Schema\SchemaIncompleteException: No schema for nginx_proxy_manager_connector.nginxproxysettings

/app/web/core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php:87
/app/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:142
/app/web/core/lib/Drupal/Core/Config/Config.php:229
/app/web/core/lib/Drupal/Core/Config/ConfigInstaller.php:399
/app/web/core/lib/Drupal/Core/Config/ConfigInstaller.php:152
/app/web/core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php:75
/app/web/core/lib/Drupal/Core/Extension/ModuleInstaller.php:327
/app/web/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php:83
/app/web/core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php:474
/app/web/core/tests/Drupal/Tests/BrowserTestBase.php:545
/app/web/core/tests/Drupal/Tests/BrowserTestBase.php:364
/app/web/modules/contrib/nginx_proxy_manager_connector/tests/src/Functional/NginxProxySettingsFormTest.php:39
/app/vendor/phpunit/phpunit/src/Framework/TestResult.php:728

--

I also checked it using config inspector module and the error continued.

Steps to reproduce

Install config inspector module (https://www.drupal.org/project/config_inspector)
go to admin/reports/config-inspector
write nginx_proxy_manager_connector.nginxproxysettings

Configuration key	Schema	List	Tree	Form	Raw data	Download
nginx_proxy_manager_connector.nginxproxysettings	None	N/A	N/A	N/A	Raw data	Download

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

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

elber created an issue. See original summary.

elber’s picture

Assigned: elber » Unassigned
Status: Active » Needs review

Hi please revise you can use config inspector (https://www.drupal.org/project/config_inspector) module to see before and after changes

shiv_sharma’s picture

Status: Needs review » Needs work
StatusFileSize
new57.24 KB

hi @elber
I observed 2 issue one is there is typo error:
+ labe: 'Nginx Proxy Connector'
should be
+ label: 'Nginx Proxy Connector'
after saving configuration config_inspector module shows 2 error. to fix this we need to add

    default_master_domain:
      type: ignore
      label: 'Default Master Domain'
    test_connection:
      type: ignore
      label: 'Test Connection'

adding screenshot for reference
error ss

sakthi_dev made their first commit to this issue’s fork.

sakthi_dev’s picture

Status: Needs work » Needs review

Please review.

shiv_sharma’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new56.17 KB

its working form error shown on config_inspector module.
screenshot
moving to RTBC

nishant’s picture

StatusFileSize
new19.94 KB
new17.4 KB

Validated on my Drupal 10.0.9, And it's working fine for me, After applying patch.
I am attaching SS Before and After for reference. RTBC+

shashikanth171’s picture

Status: Reviewed & tested by the community » Fixed

Thank you @elber @shiv_sharma @sakthi_dev @nishant

shashikanth171’s picture

Status: Fixed » Closed (fixed)

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