Ember: 이 fallback 비추천 항목이 deprecation 핸들러에서 충돌을 일으킵니다

I think this happened with the new plugin / javascript compiler.

A number of plugins and theme components have started throwing errors like

Error: Could not find module 'ember-this-fallback/deprecations-helper'

Error: Could not find module 'ember-this-fallback/this-fallback-helper' (here FKB Pro - Social theme - #493 by Clo)

I understand that not using this. has been deprecated and there was quite some time to fix things, but right now the effect is that it is getting VERY hard to find the issue. (And with the FBK Pro theme there apparently was a different deprecation?)

Now this reference, and the actual warning, are being injected into the compiled javascript so I can look at the source code to find the actual issue. But it’s not easy to spot.

Is this the intended behavior? If ember-this-fallback is no longer included, should these references still be injected into the compiled code?

2개의 좋아요

Thanks @RGJ. While hbs files are deprecated, they are still supposed to work, including with this. omitted. Digging into this :eyes:

1개의 좋아요

https://github.com/discourse/discourse/pull/39662

Will also backport to 2026.4

Edit: now merged

3개의 좋아요

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.