Edgewall Software
Modify

Ticket #7874 (new defect)

Opened 3 years ago

Last modified 22 months ago

Changing component makes owner "none" while owner should be empty

Reported by: linuxificator@… Owned by:
Priority: low Milestone: next-minor-0.12.x
Component: ticket system Version: 0.11.1
Severity: minor Keywords: verify
Cc:
Release Notes:
API Changes:

Description

I have a set of tickets of type "defect"

When an action "add comment" is performed, the ticket is disowned (owner is empty), and status becomes new.
The ticket shows up in "new defects", this is exactly as expected.

When I change the component of a "defect" ticket, the owner becomes "None" (seen when listing all tickets), the ticket itself shows "new defect".
But when the owner is "None" in stead of empty, the ticket does not show up in the "new defects list", while the ticket is a new defect.

so:

1) changing the component of "defect" tickets makes it's owner "None" while it should be empty.

2) lisitng "new defect" does not list the new defects with owner "None", only the ones with an empty owner field

3) the "None" owner is seen in the "list all tickets", but when showing http://trac/xx/ticket/<number>, the "owned by" field of a ticket owned by "None" is empty

Attachments

trac.ini (5.5 KB) - added by linuxificator@… 3 years ago.
trac.ini

Download all attachments as: .zip

Change History

Changed 3 years ago by linuxificator@…

trac.ini

comment:1 Changed 3 years ago by linuxificator@…

Workaround:

in the original "list new defects" query change:

... and owner = ''

to:

... and ( owner = '' or owner is null )

The issue is now: Why is the owner sometimes empty and sometimes null (listed as "None" in "view all tickets" and listed as empty in the ticket itself)

comment:2 Changed 3 years ago by cboos

  • Component changed from general to ticket system
  • Keywords verify added
  • Milestone set to 0.11.4
  • Priority changed from normal to low
  • Severity changed from normal to minor

comment:3 Changed 22 months ago by Carsten Klein <carsten.klein@…>

In you configuration, on new, test_gefaald -> new
you do the operation del_owner.

Now, in your configuration, see trac admin components,
you have assigned None as the owner to all or some
of your components, right?

Now, when setting the component to a different one,
then the owner that was assigned to that component
will be set as the owner of the ticket.

Perhaps that would solve your problem.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from (none). Next status will be 'new'
The owner will be changed from (none) to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.