When installing a module with exported configuration for environment_indicator.indicator, it fails for missing/undefined schema. I believe an update to the environment_indicator.schema.yml should resolve this.

Comments

trwill created an issue. See original summary.

ckaotik’s picture

Are you referring to environment indicator entities? Their config files must be named environment_indicator.switcher.foo.yml (not environment_indicator.indicator.foo.yml), for wich the schema exists.

However there is an error in the environment_indicator.switcher.*: schema: url should be of type uri, as there is no url type.

Mirroar’s picture

Status: Active » Needs review
StatusFileSize
new478 bytes

I don't know about the original issue, but ckaotik is right about using uri instead of url, see the documentation.

I've attached a patch for the schema. I recognize it might be better to move this into a new issue or at least rename this one, I'm open to doing either.

pratik_kamble’s picture

@trwill I have tried to reproduce the issue but I am not able to reproduce it. Can you please provide more info on reproducing the issue.

@Mirroar thanks for the patch. I have created another issue to address the type mismatch issue. https://www.drupal.org/project/environment_indicator/issues/3151845

Lal_’s picture

Status: Needs review » Closed (cannot reproduce)

I am not able to reproduce the issue.... Please feel free to reopen this.

pratik_kamble’s picture