- Issue created by @daffie
- πΊπΈUnited States smustgrave
Could this possible be an issue in the schema?
- πΊπΈUnited States smustgrave
Spoke previously on slack and doesn't appear to be related to config schema, so change seems pretty straight forward.
- π¦πΊAustralia mstrelan
While I agree that this should be fixed, this has the same issue that there could be existing code performing strict comparisons that would break, for example this one I found from a GitLab code search:
https://git.drupalcode.org/project/ezproxy_stanza/-/blob/8.x-1.x/src/Form/EZProxyStanzaConfigForm.php#L258
Having said that, it seems it's more common to use these constants in query conditions where this is not an issue.
It might be better to deprecate these constants somehow, and move to a generic
PublishedStatus
enum that is correctly typed, and shared for allEntityPublishedInterface
entities.Setting back to needs review for consideration.
- πΊπΈUnited States smustgrave
You're probably right. Believe that's what has been done in the past.
So deprecate current constants and use new ones.