Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5880 closed defect (fixed)

error when saving an estimate

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

Description

I tried to save an estimate, and got this error:

Context Navigation
Failed to save! invalid input syntax for type numeric: "" LINE 3: VALUES (4,E'',E'',E'',25) ^

I tried a simple test (one row) and that worked, so I think it might be an escaping problem somewhere.

I'm using:

  • trac 0.11.6stable-r8458
  • python 2.6.2 (release26-maint, Apr 19 2009, 02:15:38) [GCC 4.3.3]
  • postgres backend

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by bobbysmith007

This occurs when you have an empty row on the estimate. I will do a better job of escaping after I get back from lunch, expect a patch this afternoon.

comment:2 Changed 5 years ago by bobbysmith007

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

(In [6596]) fixes #5880 do a better job of ensuring that input is of the appropriate type when passing it off to the database so that strongly typed databases will not choke (postgresql)

comment:3 Changed 5 years ago by bobbysmith007

(In [6597]) re #5880 found another bug about types and fixed it (having to do with converting the ticket list into a list of ints)

Add Comment

Modify Ticket

Action
as 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.