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

migrating an asset field with extension validation gives an error on upload #62

Open
verybigelephants opened this issue Aug 31, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@verybigelephants
Copy link

i am migrating a fieldset with this asset field:

      hero_image_video:
        container: main
        folder: entries/images-videos
        restrict: false
        mode: grid
        type: assets
        localizable: true
        display: 'Hero image/video'
        validate: 'ext:jpg,jpeg,gif,png,svg,mp4'
        max_files: 1

after migrating it and trying to saving something after an upload i am getting this message:

 "message": "Method Illuminate\\Validation\\Validator::validateExt does not exist.",
    "exception": "BadMethodCallException",
    "file": "C:\\programs\\laragon\\www\\queermemory2\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\Validator.php",
    "line": 1382,
@jesseleite jesseleite added the bug Something isn't working label Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants