Opened 8 years ago

Closed 8 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


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 8 years ago by seltmann@…

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

comment:2 Changed 8 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.

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 8 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 8 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.


Add Comment

Modify Ticket

as closed The owner will remain bobbysmith007.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.