Привет! Я только что обновил свой сайт до версии 2.4.5 и установил последнюю стабильную ветку плагина Assign, но теперь сайт отображается пустой страницей, если только я не отключу этот плагин. Если я могу предоставить какие-либо диагностические данные, пожалуйста, дайте мне знать.
В вашем app.yml вы клонируете стабильную ветку плагина?
В вашем
app.ymlвы клонируете стабильную ветку плагина?
Да, вот так:
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/docker_manager.git
- git clone https://github.com/discourse/discourse-spoiler-alert.git
- git clone https://github.com/discourse/discourse-styleguide.git
- git clone --branch stable https://github.com/discourse/discourse-solved.git
- git clone https://github.com/discourse/discourse-user-notes.git
- git clone https://github.com/discourse/discourse-checklist.git
- git clone --branch stable https://github.com/discourse/discourse-assign.git
А что, если использовать:
git clone --single-branch --branch stable
А что, если использовать:
git clone --single-branch --branch stable
Это приводит к той же проблеме. Почему добавление --single-branch должно что-то менять?
Для справки, вот ошибка JS, которая нарушает рендеринг сайта:
TypeError: t.addKeyboardShortcut is not a function _discourse-assign-247a26621189a1714b70bd1b1b82b3a6fecb3b42abd693e59778ada8c009780f.js:732:8
initialize _discourse-assign-247a26621189a1714b70bd1b1b82b3a6fecb3b42abd693e59778ada8c009780f.js:732
withPluginApi _application-ed0ac692ab93afd4124933b80c2b9e44bca02a77b73366b3e67eef88e883e0db.js:21205
initialize _discourse-assign-247a26621189a1714b70bd1b1b82b3a6fecb3b42abd693e59778ada8c009780f.js:743
initialize _application-ed0ac692ab93afd4124933b80c2b9e44bca02a77b73366b3e67eef88e883e0db.js:7258
jQuery 21