tickets without a milestone does not show up in unscheduled backlog

Bug #863558 reported by ivar klung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
trac-backlog
Fix Released
Medium
John Szakmeister

Bug Description

Steps to reproduce
1. Create a milestone e.g. test1.x
2. Add some tickets to it (using TracBackLog)
3. Delete the milestone and set that unclosed tickets should have no milestone
4. Go back to BackLog - and the unscheduled backlog view (default)
5. The tickets do not show there.
6. I have verified that the tickets are listed in regular ticket list as not belonging to a milestone.
7. Looking at the trac changes they have an action: * milestone test1.x deleted (written 2 times on 2 different lines - which is almost the same as if you use TracBackLog to move an item into unscheduled backlog: * milestone test1.x deleted (but here only once).
8. The odd thing is that in trac view tickets according to milestone, the

Revision history for this message
John Szakmeister (jszakmeister) wrote :

Thanks for the bug report. I'll take a look into it as soon as I get a chance. I imagine that the field is getting reset with some goofball value, and that's preventing the ticket from showing up in the backlog.

Revision history for this message
ivar klung (ivarklung) wrote : RE: [Bug 863558] Re: tickets without a milestone does not show up in unscheduled backlog

Great! :)

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of John Szakmeister
Sent: Monday, October 03, 2011 7:06 PM
To: <email address hidden>
Subject: [Bug 863558] Re: tickets without a milestone does not show up in unscheduled backlog

Thanks for the bug report. I'll take a look into it as soon as I get a chance. I imagine that the field is getting reset with some goofball value, and that's preventing the ticket from showing up in the backlog.

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/863558

Title:
  tickets without a milestone does not show up in unscheduled backlog

Status in TracBacklog:
  New

Bug description:
  Steps to reproduce
  1. Create a milestone e.g. test1.x
  2. Add some tickets to it (using TracBackLog)
  3. Delete the milestone and set that unclosed tickets should have no milestone
  4. Go back to BackLog - and the unscheduled backlog view (default)
  5. The tickets do not show there.
  6. I have verified that the tickets are listed in regular ticket list as not belonging to a milestone.
  7. Looking at the trac changes they have an action: * milestone test1.x deleted (written 2 times on 2 different lines - which is almost the same as if you use TracBackLog to move an item into unscheduled backlog: * milestone test1.x deleted (but here only once).
  8. The odd thing is that in trac view tickets according to milestone, the

To manage notifications about this bug go to:
https://bugs.launchpad.net/trac-backlog/+bug/863558/+subscriptions

Revision history for this message
John Szakmeister (jszakmeister) wrote :

BTW, what version of trac are you using?

Revision history for this message
ivar klung (ivarklung) wrote :

We have trac 0.11.7

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of John Szakmeister
Sent: Monday, October 10, 2011 2:15 PM
To: <email address hidden>
Subject: [Bug 863558] Re: tickets without a milestone does not show up in unscheduled backlog

BTW, what version of trac are you using?

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/863558

Title:
  tickets without a milestone does not show up in unscheduled backlog

Status in TracBacklog:
  New

Bug description:
  Steps to reproduce
  1. Create a milestone e.g. test1.x
  2. Add some tickets to it (using TracBackLog)
  3. Delete the milestone and set that unclosed tickets should have no milestone
  4. Go back to BackLog - and the unscheduled backlog view (default)
  5. The tickets do not show there.
  6. I have verified that the tickets are listed in regular ticket list as not belonging to a milestone.
  7. Looking at the trac changes they have an action: * milestone test1.x deleted (written 2 times on 2 different lines - which is almost the same as if you use TracBackLog to move an item into unscheduled backlog: * milestone test1.x deleted (but here only once).
  8. The odd thing is that in trac view tickets according to milestone, the

To manage notifications about this bug go to:
https://bugs.launchpad.net/trac-backlog/+bug/863558/+subscriptions

Revision history for this message
John Szakmeister (jszakmeister) wrote :

Thank Ivar. As I suspected, when you delete a milestone and re-target the tickets to None, it's setting the milestone field to NULL. When you create a new ticket via 'New Ticket', the milestone field gets set to the empty string. So the answer here was to create a new query for the unscheduled view to handle this duality.

FWIW, we have never deleted a milestone. We close them, and re-target tickets to the next milestone, but that's about it. Which explains why we haven't seen this issue in two years. :-)

I'm going to move trac-backlog off of Launchpad. Although I love Bazaar, I've been using Git much more lately, and it just helps me keep producivity up by not switching between several different version control tools. Plus, Launchpad just feels slow. I'll update the pointers and what not, but for now you can grab the latest 0.2.2 release from GitHub here:
    <https://github.com/downloads/jszakmeister/trac-backlog/TracBacklog-0.2.2.tar.gz>

The project page is here:
    <https://github.com/jszakmeister/trac-backlog>

Hope that helps!

Revision history for this message
John Szakmeister (jszakmeister) wrote :

I did that wrong Ivar. Here's the link for the download:
    <https://github.com/downloads/jszakmeister/trac-backlog/trac-backlog-0.2.2.tar.gz>

Take care.

Changed in trac-backlog:
importance: Undecided → Medium
assignee: nobody → John Szakmeister (jszakmeister)
status: New → Fix Released
Revision history for this message
ivar klung (ivarklung) wrote :

Hi,
Thankyou very much!
I've passed the information onto the maintainer of trac - will let you know if we come across any other issues.
Btw, did you get a chance to look at my email on suggestions for possible improvements?
Thanx
Ivar

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of John Szakmeister
Sent: Monday, October 10, 2011 3:26 PM
To: <email address hidden>
Subject: [Bug 863558] Re: tickets without a milestone does not show up in unscheduled backlog

Thank Ivar. As I suspected, when you delete a milestone and re-target the tickets to None, it's setting the milestone field to NULL. When you create a new ticket via 'New Ticket', the milestone field gets set to the empty string. So the answer here was to create a new query for the unscheduled view to handle this duality.

FWIW, we have never deleted a milestone. We close them, and re-target tickets to the next milestone, but that's about it. Which explains why we haven't seen this issue in two years. :-)

I'm going to move trac-backlog off of Launchpad. Although I love Bazaar, I've been using Git much more lately, and it just helps me keep producivity up by not switching between several different version control tools. Plus, Launchpad just feels slow. I'll update the pointers and what not, but for now you can grab the latest 0.2.2 release from GitHub here:
    <https://github.com/downloads/jszakmeister/trac-backlog/TracBacklog-0.2.2.tar.gz>

The project page is here:
    <https://github.com/jszakmeister/trac-backlog>

Hope that helps!

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/863558

Title:
  tickets without a milestone does not show up in unscheduled backlog

Status in TracBacklog:
  New

Bug description:
  Steps to reproduce
  1. Create a milestone e.g. test1.x
  2. Add some tickets to it (using TracBackLog)
  3. Delete the milestone and set that unclosed tickets should have no milestone
  4. Go back to BackLog - and the unscheduled backlog view (default)
  5. The tickets do not show there.
  6. I have verified that the tickets are listed in regular ticket list as not belonging to a milestone.
  7. Looking at the trac changes they have an action: * milestone test1.x deleted (written 2 times on 2 different lines - which is almost the same as if you use TracBackLog to move an item into unscheduled backlog: * milestone test1.x deleted (but here only once).
  8. The odd thing is that in trac view tickets according to milestone, the

To manage notifications about this bug go to:
https://bugs.launchpad.net/trac-backlog/+bug/863558/+subscriptions

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.