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 лайков