New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SecurityBundle][DX] http://symfony.com/schema/dic/security schema is missing #28141
Comments
@kaznovac sorry for the lack of response. I'm trying to fix this ... but I can't find the |
As far as I know we do not have a schema definition file for the SecurityBundle config. |
@javiereguiluz I was suspecting that there is no schema, and @xabbuh confirmed that. We need to write it (if structure defined in |
@kaznovac did you find time to do this ? |
@Simperfit sorry I haven't got much time lately (became a father 2.5 moths ago) I've looked into it, scratched it out, and figured out that I need a XSD refresher course (how to import elements from another schema for providers, see this dynamic definition for providers section https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/SecurityBundle/DependencyInjection/MainConfiguration.php#L371-L376) ;) Also Symfony Security rework #30914 can affect the form of the configuration/schema. |
Thanks for the response ! Congratulation, I’m a father since 1 month in 3
days, I understand :).
Le dim. 7 avr. 2019 à 21:18, Marko Kaznovac <notifications@github.com> a
écrit :
… @Simperfit <https://github.com/Simperfit> sorry I haven't got much time
lately (became a father 2.5 moths ago)
I've looked into it, scratched it out, and figured out that I need a XSD
refresher course (how to import elements from another schema for providers,
see this dynamic definition for providers section
https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/SecurityBundle/DependencyInjection/MainConfiguration.php#L371-L376)
;)
Also Symfony Security rework #30914
<#30914> can affect the form of
the configuration/schema.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#28141 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADSq8qaz82DgDPVb1sevsyyre9rNamLCks5vekSYgaJpZM4Vv464>
.
|
See #36072 which may add it in master. |
…tion (HeahDude) This PR was merged into the 5.1-dev branch. Discussion ---------- [SecurityBundle] Added XSD for the extension configuration | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | Fix #28141 | License | MIT | Doc PR | TODO Commits ------- 66ac3f7 [SecurityBundle] Added XSD for the extension configuration
Symfony version(s) affected: ^3|^4 (and possibly ^2)
Description
SecurityBundle references namespace 'http://symfony.com/schema/dic/security'
but it's xsd schema is missing. this is nice to have but not feature impeding.
How to reproduce
there are numerous references for 'http://symfony.com/schema/dic/security' in 'src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Fixtures/xml/*.xml'
and
\Symfony\Bundle\SecurityBundle\DependencyInjection\SecurityExtension::getNamespace
returns this namespace.Possible Solution
provide schema for 'http://symfony.com/schema/dic/security', like the ones for services, twig
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd http://symfony.com/schema/dic/twig http://symfony.com/schema/dic/twig/twig-1.0.xsd"
The text was updated successfully, but these errors were encountered: