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

Exception on empty filename (should be skipped) #3

Open
aspann opened this issue Apr 8, 2021 · 1 comment · May be fixed by #9
Open

Exception on empty filename (should be skipped) #3

aspann opened this issue Apr 8, 2021 · 1 comment · May be fixed by #9

Comments

@aspann
Copy link

aspann commented Apr 8, 2021

Hey,
I'm currently facing a small issue - should be easy to fix (MediaOptimizeCommand.php#L158)

$ bin/console rl:media:optimize
  33/909 [=>--------------------------]   3%20:17:27 CRITICAL  [console] Error thrown while running command "rl:media:optimize". Message: "A valid Filename must be provided." ["exception" => Shopware\Core\Content\Media\Exception\EmptyMediaFilenameException^ { …},"command" => "rl:media:optimize","message" => "A valid Filename must be provided."]

In UrlGenerator.php line 136:
                                      
A valid Filename must be provided. 

If you need any further information, just let me know. (Btw. nice plugin!)

Cheers.

[edit]
Added linenumber and filename where the error is initially triggered.

@OlliZabal
Copy link

Fantastic plugin - sadly I can confirm the issue mentioned above by @aspann.
@runelaenen: Would love to see a fix for this circumstance - any idea?

@M-arcus M-arcus linked a pull request Mar 8, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants