weixin_39908263 2020-11-30 16:38
浏览 0

Milestone contains tickets from another milestone

Originally reported on Google Code with ID 483


*Abstract*: Milestones sometimes contain tickets that do not belong to
them.

*Details*: A milestone sometimes contains tickets it should not (both
on the milestones page in the "x open, y closed , z total", and in the
ticket list when displaying all tickets in a milestone).  It seems a
milestone actually contains all tickets belonging to all milestones
with the same first word in its name (before the first space).

*To reproduce*:

- create a milestone "Some milestone"
- create a milestone "Some deadline"
- create a milestone "Other milestone"

- so milestone names all have a space character
- 2 milestones share the same first word
- the 3d milestone has a different first name

- create a ticket in "Some milestone"
- create a ticket in "Other milestone"

-> "Other milestone" will contain 1 ticket (correct)
-> both "Some *" milestones will contain 1 ticket (INCORRECT)

*Version*: Gitblit 1.6.0

Reported by fgeorges on 2014-08-12 18:00:39

该提问来源于开源项目:gitblit/gitblit

  • 写回答

8条回答 默认 最新

  • weixin_39908263 2020-11-30 16:38
    关注
    
    I think this is a variation of the same problem reported in issue 765.  The Lucene query
    is tokenizing the milestone term because it isn't properly escaped.  If it is the same
    issue, this is already fixed on master.  If you have the time you could build master
    from source and try it.
    

    Reported by James.Moger on 2014-08-12 18:06:42

    评论

报告相同问题?