こんにちは。サイトを 2.4.5 と、assign プラグインの最新安定版に更新したところ、assign プラグインを無効にしない限り、サイトが空白のページになってしまいます。診断に役立つ情報があれば提供いたしますので、お知らせください。
app.yml で、プラグインの安定版ブランチをクローンしていますか?
app.ymlで、プラグインの stable ブランチをクローンしていますか?
はい、以下のように行います。
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 を追加すると違いが出るのでしょうか?
参考までに、サイトのレンダリングを破綻させている JavaScript エラーを以下に示します。
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