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

Search index not updated when editing some fields #8366

Closed
9 of 12 tasks
bobemoe opened this issue Oct 3, 2019 · 3 comments
Closed
9 of 12 tasks

Search index not updated when editing some fields #8366

bobemoe opened this issue Oct 3, 2019 · 3 comments
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/bug

Comments

@bobemoe
Copy link
Contributor

bobemoe commented Oct 3, 2019

  • Gitea version (or commit ref): 1.10.0+dev-366-g0bda87616

Description

Same as the issue that was fixed in #8060 except occurring when edited via API. Also editing issue body via web frontend and api also experiences this issue.

I tested the index on new and update for title and body fields and comments too, all working fine except these three:

  • new web issue title
  • new web issue body
  • new web comment body
  • changed web issue title
  • changed web issue body
  • changed web comment body
  • new api issue title
  • new api issue body
  • new api comment body
  • changed api issue title
  • changed api issue body
  • changed api comment body
@bobemoe
Copy link
Contributor Author

bobemoe commented Oct 3, 2019

Just confirmed on try.gitea.io.

All these issues should not be found by the keyword "keyword" as I edited them in various ways and changed "keyword" to "none"

They are still found by "keyword": https://try.gitea.io/bobemoe/search_test/issues?type=all&state=open&labels=0&milestone=0&assignee=0&q=keyword

But not found by "none": https://try.gitea.io/bobemoe/search_test/issues?type=all&state=open&labels=0&milestone=0&assignee=0&q=none

@stale
Copy link

stale bot commented Dec 2, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale stale bot added the issue/stale label Dec 2, 2019
@lunny lunny added the type/bug label Dec 6, 2019
@stale stale bot removed the issue/stale label Dec 6, 2019
@lunny lunny added the issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented label Dec 6, 2019
@bobemoe
Copy link
Contributor Author

bobemoe commented Dec 13, 2020

I've just tested this against 1.14.0+dev-377-gde0986d78 on try.gitea.io and the 3 problematic events above are now working correctly :)

@bobemoe bobemoe closed this as completed Dec 13, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Jan 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/bug
Projects
None yet
Development

No branches or pull requests

2 participants