Modify

Opened 5 years ago

Closed 5 years ago

#5489 closed defect (fixed)

estimated hours invalid value

Reported by: seltmann@… Owned by: bobbysmith007
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

after installing the plugin all existing tickets have estimated hours empty. the normal developer has no right to set estimated hours. is there a query or a hack to set the estimated hours to all tickets to "0" or the default value for estimated hours to "0" for each ticket-comment, if estimated hours is empty?

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by seltmann@…

forgot to say, but implies, we are using the permission-branch

comment:2 Changed 5 years ago by bobbysmith007

Sorry, sometimes I dont receive emails sent from trac hacks.

The solution to your problem is to set the default value of this field.

This can be done by adding the following to your trac.ini file. The important part is estimatedhours.value = 0.

[ticket-custom]
estimatedhours = text
estimatedhours.label = Estimated Number of Hours
estimatedhours.order = 1
estimatedhours.value = 0

I will investigate why this is not the case by default.

HTH, Russ

comment:3 Changed 5 years ago by bobbysmith007

(In [6268]) re #5489 changed the ticket validation code to be forgiving of empty values, treating them like a 0 instead of a validation error.

comment:4 Changed 5 years ago by bobbysmith007

  • Resolution set to fixed
  • Status changed from new to closed

I looked into the default values and seems like the estimated hours default should have been set automatically, is there any chance you accidentally removed that entry or something?

Either way, if you continue to have problems, please let me know.

Russ

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from bobbysmith007. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.