Skip to content

Image not found issues #241

Description

@iclukas

I ran into two issues here:

  • Missing intermediate certs make images from https sources non-readable. The same is probably true for invalid certs.
  • If the current user (running sp) has no write permissions to the IMGCACHE dir, an „Image not found!“ error is issued.

In both cases the error messages are very misleading. Clearer messages would have saved me several hours of debugging.

In the first case, I’m not really sure why the cert error is not being displayed.

In the second case, it seems like saveFileFromUrl() doesn’t properly output the error because the path exists and leads to a dir. It’s just not writeable. Not sure if MkDirAll() returns an error, but it wouldn’t be handled anyway.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions