Upload button grayed out

Hi guys..

I was trying to upload an image for facebook open graph via upload option in customize, but the upload button is grayed out. I am unable to upload the image. It seems like a bug to me. Any idea?

Thanks

「いいね!」 5

Meta でバグが確認されました。

何らかの理由で、ボタンはデフォルトで無効になっています。


@Pravi さん、一時的な回避策として、上記の画像で強調表示されている部分を削除して HTML を編集してください。ボタンが再度クリック可能になり、正常に動作するようになります。

cc @awesomerobot

「いいね!」 8

Thank you so much.. The temporary solution worked.
Hope you guys will fix the bugs soon.

Looks like a valid bug @sam

The regex changed in this commit FIX: validates 'ThemeField' name when used in a SCSS variable · discourse/discourse@24e89b6 · GitHub is causing the issue.

This regex will fail if your image is capitalized like : IMG_0039 for example, not sure about the motivation to only allow downcase.

「いいね!」 3

I’ll fix it tomorrow.

「いいね!」 5

Thanks for reporting that @Pravi. I’ve pushed a fix :banana:

https://github.com/discourse/discourse/commit/27a368bb70c2755598d38c728e589ab2968d40ac

「いいね!」 11