Ticket #5489 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

estimated hours invalid value

Reported by: seltmann@digitalzone.de Assigned to: 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

Change History

07/08/09 16:28:18 changed by seltmann@digitalzone.de

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

07/22/09 19:17:54 changed 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

07/22/09 19:29:53 changed 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.

07/22/09 19:31:23 changed by bobbysmith007

  • status changed from new to closed.
  • resolution set to fixed.

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/Change #5489 (estimated hours invalid value)




Change Properties
Action