Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Application Development » ERROR: 22P02: invalid input syntax for integer ( LINE 1: SELECT count(*) FROM idps WHERE uid='' ^ LOCATION: pg_atoi, numutils.c:52)
Re: ERROR: 22P02: invalid input syntax for integer [message #4949 is a reply to message #4948] Fri, 28 August 2015 16:53 Go to previous messageGo to previous message
rafs is currently offline  rafs
Messages: 69
Registered: May 2015
Member
Unless I am mistaken, I think there is a logical error in dml.pgsql.class.inc.
In function: insertRecord

[Line: 973]
// find out if any field in the primary key has 'serial' (auto_increment) set

[Line:1004]
// build 'where' string using values for primary key

[Line:1034]
// validate any optional unique/candidate keys

The framework is not expecting an auto_increment candidate key, I think. Trying to modify the function...

[Updated on: Fri, 28 August 2015 19:18]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to provide choices for two compound foreign keys in a form?
Next Topic: Running batch jobs
Goto Forum:
  


Current Time: Thu Nov 21 18:07:33 EST 2024

Total time taken to generate the page: 0.01067 seconds