manut
(Manuel Tancoigne)
29 سبتمبر 2026، 9:47ص
1
مرحبًا،
عند استخدام نسخة تطوير جديدة من Discourse، تفشل اختبارات الإضافات التي تعتمد على إضافات أخرى.
خطوات إعادة الإنتاج:
إنشاء حاوية تطوير جديدة: sudo d/boot_dev --init، وإكمال الإعداد.
الوصول إلى http://localhost:3000/tests?target=discourse-calendar
تظهر صفحة فارغة مع خطأ في وحدة التحكم: Uncaught (in promise) Error: TypeError: The specifier “discourse/plugins/styleguide?” was a bare specifier, but was not remapped to anything. Relative module specifiers must start with “./”, “../” or “/”.
إعجاب واحد (1)
شكرًا لك على الإبلاغ، يمكنني إعادة إنتاج هذه المشكلة في Firefox وقد قمت بإرسال إصلاح. بمجرد دمج الإصلاح، يجب أن يعمل مرة أخرى.
main ← dev-qunit-import-map
merged 04:49PM - 29 Sep 26 UTC
Firefox ignores an import map once any module has started loading, so plugin tes… t pages failed to boot there with `The specifier "discourse/plugins/styleguide?" was a bare specifier, but was not remapped to anything`.
This change renders `layouts/plugin_js` ahead of those scripts, which matches the order in `application.html.erb`, so plugin JS tests run in Firefox again.
إعجاب واحد (1)