Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a tag to some specific categories starts infinite add/remove loop #276

Closed
boogheta opened this issue Jun 21, 2018 · 3 comments
Closed
Assignees

Comments

@boogheta
Copy link
Member

boogheta commented Jun 21, 2018

Dans l'onglet tags de la page d'une webentité

  • créer une categorie "language"
  • puis créer un tag
    => boucle infinie de add/remove
@boogheta
Copy link
Member Author

It appears it only happens with the category "language" in fact ! o_O

@boogheta boogheta changed the title Adding a tag starts infinite add/remove loop Adding a tag to some specific categories starts infinite add/remove loop Jun 21, 2018
@jacomyma
Copy link
Member

The server answers: "ERROR while updating WebEntity : found language override field in document with non-string type"

@boogheta
Copy link
Member Author

As identified by @Yomguithereal, it probably come from the textIndex line 117 of hyphe_backend/lib/mongo.py, it should take an extra_argument such as "{ language_override: "HYPHE_MONGODB_LANGUAGE_INDEX_FIELD_NAME" }"
cf https://docs.mongodb.com/manual/tutorial/specify-language-for-text-index/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants