Skip to content

FIX Fall back to icon for image preview link#707

Merged
emteknetnz merged 1 commit intosilverstripe:3.1from
creative-commoners:pulls/3.1/fix-previewlink
Feb 24, 2026
Merged

FIX Fall back to icon for image preview link#707
emteknetnz merged 1 commit intosilverstripe:3.1from
creative-commoners:pulls/3.1/fix-previewlink

Conversation

@GuySartorelli
Copy link
Copy Markdown
Member

If no file existed in the filesystem, the backend was null which was causing this error:

Uncaught Exception Error: "Call to a member function getAllowsAnimationInManipulations() on null" at /var/www/html/vendor/silverstripe/assets/src/Image.php line 113

We should fail gracefully here instead.

Issue

If no file existed in the filesystem, the backend was null which was
causing errors. We should fail gracefully here instead.
@emteknetnz emteknetnz merged commit 5b549af into silverstripe:3.1 Feb 24, 2026
9 checks passed
@emteknetnz emteknetnz deleted the pulls/3.1/fix-previewlink branch February 24, 2026 22:41
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 this pull request may close these issues.

2 participants