Skip to content

Tags will not be synced to search plugin when adding new question #696

@hgaol

Description

@hgaol

Describe the bug
when adding a new question, the corresponding tags will not be synced to search plugin because the TagRel entities have not been created yet.

To Reproduce
Steps to reproduce the behavior:

  1. enable one of the search plugin, e.g. elastic search
  2. enable the search plugin in Admin page.
  3. add a new question with tags.
  4. after question created, you can find that the tags have not been synced to the search plugin.

Expected behavior
question as well as its tags are all synced to search plugin. The root cause is that the TagRel entities are not been created yet when updating search.

Screenshots
If applicable, add screenshots to help explain your problem.

Platform (please complete the following information):

  • Device: [Desktop]
  • OS: [Windows/WSL]
  • Browser [chrome]
  • Version [main branch]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions