# Отчёт об ошибке: «Авто-тегирование темы» в автоматизации Discourse — обнаружение ссылок не работает, Onebox запускает изображение

**URL:** <https://meta.discourse.org/t/bug-report-auto-tag-topic-in-discourse-automation-link-detection-not-working-onebox-triggers-image/366784>\
**Category:** Support\
**Tags:** automation\
**Created:** [20.Май.2025 01:14:42 UTC](https://meta.discourse.org/t/bug-report-auto-tag-topic-in-discourse-automation-link-detection-not-working-onebox-triggers-image/366784 "2025-05-20T01:14:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [20.Май.2025 10:52:00 UTC](https://meta.discourse.org/t/bug-report-auto-tag-topic-in-discourse-automation-link-detection-not-working-onebox-triggers-image/366784/2 "2025-05-20T10:52:00Z")

</div>

Привет,

Для меня это удивительно, так как у нас есть явный тест для этого случая:

```ruby
it "fires the trigger when post has a link" do
  list =
    capture_contexts do
      PostCreator.create(
        user,
        raw: "Check out this [link](https://example.com)",
        topic_id: topic.id,
      )
    end

  expect(list.length).to eq(1)
  expect(list[0]["kind"]).to eq("post_created_edited")
end

```

Можешь, пожалуйста, прислать скриншот всей автоматизации, которую ты пытаешься запустить, а также исходный текст поста, который не сработал?

---

_[View the full topic](https://meta.discourse.org/t/bug-report-auto-tag-topic-in-discourse-automation-link-detection-not-working-onebox-triggers-image/366784)._
