Check out the LimeSurvey source code on GitHub!

Survey ID not set correctly after row insert in servey_NNN table

More
4 years 11 months ago #76145 by sergey
Looked like in the latest code (1.92 build 20120303) the following line is wrong:

$srid = $connect->Insert_ID($this->surveyOptions,"sid");

It should be "id" not "sid" as the last parameter.

The line (in "dev" branch) is 3279: github.com/LimeSurvey/LimeSurvey/blob/de...ionManager.php#L3279 .

Please Log in to join the conversation.

More
4 years 11 months ago #76148 by Steve01
Hello,

Please open a ticket at the Bugtracker to report this issue and post the link to the Bugtracker so we can follow the progress.

Thanks!

Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team

Please Log in to join the conversation.

More
4 years 11 months ago #76302 by sergey

Please Log in to join the conversation.

More
4 years 11 months ago #76304 by TMSWhite
That looks like a Postgres-only issue (which has been an issue for years).

Regardless, it has been fixed.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form