Modify

Opened 15 years ago

Closed 15 years ago

#5489 closed defect (fixed)

estimated hours invalid value

Reported by: seltmann@… Owned by: Russ Tyndall
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 15 years ago by seltmann@…

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

comment:2 Changed 15 years ago by Russ Tyndall

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 15 years ago by Russ Tyndall

(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 15 years ago by Russ Tyndall

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Russ Tyndall.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.