自动回复器配置按钮失效

配置按钮在尝试创建自动回复器时突然停止工作。请看此屏幕录像:CleanShot 2023-07-20 at 16.32.46 · CleanShot Cloud

之前已创建并正常工作的自动回复器的键/值配置也消失了。

1 个赞

这是我的主题配置,以防万一有帮助:

不确定这是否相关,但我在控制台日志中也看到很多弃用通知。其中一个链接到一个最近的主题:

https://meta.discourse.org/t/converting-modals-from-legacy-controllers-to-new-dmodal-component-api/268057:

日志
DevTools failed to load source map: Could not load content for https://community.ankihub.net/admin/plugins/discourse-automation/splash-screen.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

DEPRECATION: Passing the `@class` argument to <LinkTo> is deprecated. Instead, please pass the attribute directly, i.e. <LinkTo class={{...}} /> instead of <LinkTo @class={{...}} /> or {{link-to class=...}}. [deprecation id: ember.built-in-components.legacy-attribute-arguments] See https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-legacy-attribute-arguments for more details.

deprecate-shim.js:33 DEPRECATION: Passing the `@input` argument to <Input> is deprecated. [deprecation id: ember.built-in-components.legacy-arguments] See https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-legacy-arguments for more details.

DEPRECATION: Passing the `@disabled` argument to <Input> is deprecated. [deprecation id: ember.built-in-components.legacy-arguments] See https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-legacy-arguments for more details.

deprecate-shim.js:33 DEPRECATION: Passing the `@click` argument to <Input> is deprecated. [deprecation id: ember.built-in-components.legacy-arguments] See https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-legacy-arguments for more details.

DevTools failed to load source map: Could not load content for https://community.ankihub.net/assets/plugins/discourse-automation-5003899794c9efc5dddc62370a8c4cdbbd392c3fbbab8775c215aa32594c954b.map: HTTP error: status code 200, net::ERR_HTTP2_PROTOCOL_ERROR

DevTools failed to load source map: Could not load content for https://community.ankihub.net/stylesheets/discourse-automation_55126ef13900a26b9ac6533772dfb8aecb7acd6a.css.map?__ws=community.ankihub.net: HTTP error: status code 200, net::ERR_HTTP2_PROTOCOL_ERROR

[PLUGIN discourse-automation] Deprecation notice: Defining modals using a controller is deprecated. Use the component-based API instead. (modal: json-schema-editor) [deprecated since Discourse 3.1] [removal in Discourse 3.2] [deprecation id: discourse.modal-controllers] [info: https://meta.discourse.org/t/268057]

感谢您的报告,@aas:+1:

我已复现该问题,并已告知团队。:slight_smile:

1 个赞

这应该在 discourse-automation 插件的最新版本中得到修复

再次感谢您的报告 @aas :raised_hands:

5 个赞

此主题已在 2 天后自动关闭。不再允许回复。