Edgewall Software
Modify

Opened 16 years ago

Closed 9 years ago

#7874 closed defect (duplicate)

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

Reported by: linuxificator@… Owned by: Ryan J Ollos
Priority: low Milestone:
Component: ticket system Version: 0.11.1
Severity: minor Keywords: verify
Cc: Branch:
Release Notes:
API Changes:
Internal 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 (1)

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

Download all attachments as: .zip

Change History (12)

by linuxificator@…, 16 years ago

Attachment: trac.ini added

trac.ini

comment:1 by linuxificator@…, 16 years ago

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 by Christian Boos, 16 years ago

Component: generalticket system
Keywords: verify added
Milestone: 0.11.4
Priority: normallow
Severity: normalminor

comment:3 by Carsten Klein <carsten.klein@…>, 15 years ago

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.

comment:4 by Ryan J Ollos, 11 years ago

Cc: Ryan J Ollos added

comment:5 by Ryan J Ollos, 10 years ago

See also #11018.

comment:6 by Ryan J Ollos, 10 years ago

Milestone: next-minor-0.12.xnext-stable-1.0.x

comment:7 by Ryan J Ollos, 10 years ago

Milestone: next-stable-1.0.x1.0.6

comment:8 by Ryan J Ollos, 10 years ago

Owner: set to Ryan J Ollos
Status: newassigned

comment:9 by Ryan J Ollos, 10 years ago

Milestone: 1.0.61.0.7

comment:10 by Ryan J Ollos, 9 years ago

Milestone: 1.0.71.2

comment:11 by Ryan J Ollos, 9 years ago

Cc: Ryan J Ollos removed
Milestone: 1.2
Resolution: duplicate
Status: assignedclosed

Based on the testing I've done, the issue is fixed in #11018. NULL is stored in the database when saving an owner with value None or an empty string.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.