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

Milestone contains tickets from another milestone #779

Closed
gitblit opened this issue Aug 12, 2015 · 8 comments
Closed

Milestone contains tickets from another milestone #779

gitblit opened this issue Aug 12, 2015 · 8 comments

Comments

@gitblit
Copy link
Owner

@gitblit gitblit commented Aug 12, 2015

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
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

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

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

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

  • Status changed: Accepted
  • Labels added: Milestone-1.6.1

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

Thank you!  Time is probably what I have less ;-), but I'll try to have a look at the
build process...

Reported by fgeorges on 2014-08-14 14:30:29

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

Don't we all.  Build process is straight-forward - or at least should be.

You'll need a JDK & Ant.

"ant buildGO" will generate the GO build in Windows & unix flavors.
"ant buildWAR" will generate the WAR build.

Reported by James.Moger on 2014-08-14 14:33:33

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

Github mentions Eclipse.  If it is not necessary, I will try then.  Thanks!

Reported by fgeorges on 2014-08-14 14:47:43

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

It is not necessary.  A JDK & Ant are the build requirements.  I use Eclipse and the
project is already setup for Eclipse, that is why it is mentioned.

Reported by James.Moger on 2014-08-14 14:54:04

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

This is definitely the same problem as issue-469 but the first applied for 469 doesn't
cover this case.  I have revised the fix and pushed to master.  It now works as expected.

Reported by James.Moger on 2014-09-04 19:19:05

  • Status changed: Queued

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

v1.6.1 released

Reported by James.Moger on 2014-10-20 21:36:03

  • Status changed: Done

@gitblit gitblit closed this as completed Aug 12, 2015
@flaix flaix added this to the 1.6.1 milestone Dec 13, 2016
@flaix flaix added this to the 1.6.1 milestone Dec 13, 2016
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