테마 컴포넌트 #2 업데이트 시 "빈 문자열은 유효한 JSON 문자열이 아닙니다" 오류 발생

Same problem as this one but this time for Custom Header Links

Maybe this is better handled server side instead of fixing it in individual theme components?

lib/theme_settings_manager/objects.rb:13:in `parse'
lib/theme_settings_manager/objects.rb:13:in `value='
app/models/theme.rb:760:in `update_setting'
app/models/theme.rb:881:in `block (2 levels) in migrate_settings'
app/models/theme.rb:880:in `each'
app/models/theme.rb:880:in `block in migrate_settings'
app/models/theme.rb:919:in `migrate_settings'
app/models/remote_theme.rb:377:in `block in update_from_remote'
4개의 좋아요

Will be fix in

https://github.com/discourse/discourse-custom-header-links/pull/69

I’m not sure about this now and would like to see more failure examples before deciding here.

Thank you for reporting the bug here :+1:

2개의 좋아요