Skip to content

Webpacker crashes if google oauth icon is empty #8799

@arusa

Description

@arusa

In the past (before webpacker), when I didn't enter an oauth icon in the settings everything worked fine, but with decidim 0.26.0.rc2 loading the organization start page crashes with the error

Webpacker can't find . in /app/public/decidim-packs/manifest.json

The error happens in the following line and coming from oauth_icon:

image_pack_tag(path, class: classes.join(" "), style: "display: none")

My suggestion would be to make the icon mandatory when google oauth is enabled or maybe modifying the external_icon method to not crash the complete app.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions