[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error in LedgerSMB/CT.pm line 430 in 1.2.0b3 (try3)
- Subject: Error in LedgerSMB/CT.pm line 430 in 1.2.0b3 (try3)
- From: ..hidden..
- Date: Wed, 29 Nov 2006 12:50:53 -0700 (MST)
I imported a vendor via a CLI script:
./ct.pl "action=save&db=vendor&path=bin&login=lbmoore&\
password=xX-xX-xX-xX&name=tibbar4130&vendornumber=465&\
address1=&address2=&city=&state=&zipcode=&country=&contact=&\
phone=&fax=&email=&cc=&bcc=¬es=&tax_2156=1&taxaccounts=2156&\
taxincluded=0&terms=0/n"
and then went into lsmb to edit the record:
AP -> Vendors -> Reports -> Search and pull up the entry in a list.
Selecting the entry brings up the edit vendor form and I make a change (add to
the note field: "Hi there") and click SAVE
With the result:
DBD::Pg::db selectrow_array failed: execute called with an unbound placeholder
at LedgerSMB/CT.pm line 430.
DBD::Pg::st execute failed: ERROR: duplicate key violates unique constraint
"vendor_pkey"
Error!
INSERT INTO vendor (id)
VALUES (?)
ERROR: duplicate key violates unique constraint "vendor_pkey"
I'll continue to troubleshoot, but if anyone recognizes this, help would be
gratefully appreciated.
Louis