Skip to content
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

duplicate entry 'code' in validation file for Media #167

Closed
muldos opened this issue Jul 9, 2018 · 1 comment
Closed

duplicate entry 'code' in validation file for Media #167

muldos opened this issue Jul 9, 2018 · 1 comment

Comments

@muldos
Copy link

muldos commented Jul 9, 2018

Hi,
I've found a bug in Media.yml file :

properties:
        code:
            - NotBlank:
                message: 'bitbag_sylius_cms_plugin.media.code.not_blank'
                groups: ['bitbag']
            - Length:
                min: 2
                max: 250
                minMessage: 'bitbag_sylius_cms_plugin.media.code.min_length'
                maxMessage: 'bitbag_sylius_cms_plugin.media.code.max_length'
                groups: ['bitbag']
        code:
            - NotBlank:
                groups: ['bitbag']

there is 2 'code' entries, the second one should be removed.

Best regards,

David

@patrick477
Copy link
Contributor

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants