View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
06707 | Bug reports | Central participant database | public | 2012-10-15 17:04 | 2015-03-31 11:22 |
Reporter | Erik_Inn | Assigned To | mdekker | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00+ | ||||
Fixed in Version | 2.00+ | ||||
Summary | 06707: Can not add participants from central participant database to surveys | ||||
Description | Participants from the central participants database can not be added to a survey. | ||||
Steps To Reproduce | Add users to the central participants database Steps above will result in an error (please see attachment) | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 121014 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | MS Internet Explorer 9, Google Chrome 22.0.1229.79 m | ||||
Database type & version | MS SQL 2008 | ||||
Server OS (if known) | MS Windows Server 2008 service pack 2 | ||||
Webserver software & version (if known) | IIS 7 | ||||
PHP Version | 5.3 | ||||
Hi Erik_Inn, I can't replicate this problem, but I also don't use MS SQL. Are you able to access your database directly? If so, can you see if there is a table in your limesurvey database called "lime_survey_links"? Thanks, Jason |
|
Hi jcleeland, Thanks for your response. No, I don't have access. But I have contacted the one who does have direct access to the database. I'll let you know whether or not there is a table called 'lime_survey_links' asap. Greets, Erik |
|
Hi jcleeland, There is a table called 'Dbo.lime_survey_links' in our LimeSurvey database. This table is empty. Greets, Erik |
|
Hi again Eric, and apologies for being offline for so long. Could you have a look in the tokens table for your survey? ie: if it's survey id 12345, the table called "lime_tokens_12345". The error message you are getting says "[SQL Server]Invalid column name" followed by the UUID (participant_id) which implies that the appropriate columns/fields do not exist. I suspect it's in the tokens table, caused by updating. If you've updated an older version of LimeSurvey, this upgrade is supposed to create a "participant_id" column in your existing tokens tables, but if not this error would occur. Jason |
|
Is this still an issue or is it fixed in build 121204 |
|
Sorry, it is not fixed in build 121211 :-( I think it has nothing to do with an update, my installation was new. As I described in 06996, it seems to be caused by wrong JOIN parameters: I was to stupid to find the place, where the relationships are defined and the SQL is built :-/ |
|
@i_meyer i have seen that in pgsql database. there should be a table participant_attribute_names, that table has a primary key that consists of two fields: to fix your problem, you need to drop the index, and add it for only the field |
|
can you confirm that solves the problem? |
|
Hi, Today I have updated to version 2.00+ build 130103. Problem solved. Thanks a lot |
|
I updated to build 130103 (no new database), problem was still there. As you suggested, I tried: alter table participant_attribute_names drop constraint participant_attribute_names_pkey; and create index on participant_attribute_names (attribute_id); and now it works. Thanks a lot. |
|
Composite primary key issue is only on pgsql. The fix will be attached to original report 6996 closing this one as already fixed |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-10-15 17:04 | Erik_Inn | New Issue | |
2012-10-15 17:04 | Erik_Inn | Status | new => assigned |
2012-10-15 17:04 | Erik_Inn | Assigned To | => jcleeland |
2012-10-15 17:04 | Erik_Inn | File Added: Screenshots central participants database 20121015.docx | |
2012-10-23 05:41 | jcleeland | Note Added: 21550 | |
2012-10-25 15:56 | Erik_Inn | Note Added: 21682 | |
2012-10-26 09:32 | Erik_Inn | Note Added: 21694 | |
2012-11-17 02:50 | jcleeland | Note Added: 22297 | |
2012-12-06 21:21 | mdekker | Note Added: 22988 | |
2012-12-06 21:21 | mdekker | Assigned To | jcleeland => |
2012-12-06 21:21 | mdekker | Status | assigned => feedback |
2012-12-12 13:33 | mdekker | Relationship added | duplicate of 06996 |
2012-12-12 14:08 | i_meyer | Note Added: 23172 | |
2012-12-22 21:27 | c_schmitz | Assigned To | => mdekker |
2012-12-22 21:27 | c_schmitz | Status | feedback => assigned |
2012-12-23 16:08 | mdekker | Note Added: 23372 | |
2012-12-23 16:10 | mdekker | Note Added: 23373 | |
2013-01-03 12:04 | Erik_Inn | Note Added: 23436 | |
2013-01-07 11:57 | i_meyer | Note Added: 23512 | |
2013-01-07 14:21 | mdekker | Relationship replaced | related to 06996 |
2013-01-07 14:23 | mdekker | Note Added: 23513 | |
2013-01-07 14:23 | mdekker | Status | assigned => closed |
2013-01-07 14:23 | mdekker | Resolution | open => fixed |
2013-01-07 14:23 | mdekker | Fixed in Version | => 2.00+ |