مرحبًا، قمتُ بتحديث موقعي إلى الإصدار 2.4.5 وأحدث فرع مستقر من إضافة “Assign”، لكن موقعي يعرض صفحة فارغة إلا إذا قمتُ بتعطيل إضافة “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 فرقًا؟
وللتوضيح، إليك خطأ 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