View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 09947 | Bug reports | Central participant database | public | 2015-10-05 23:20 | 2016-03-16 09:18 |
| Reporter | ttenbergen | Assigned To | ollehar | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.50.x | ||||
| Fixed in Version | 2.50.x | ||||
| Summary | 09947: form code being revealed in participant attribute value field | ||||
| Description | Was clicking around in the participant edit fields to find a pattern for a different problem. For one of them the following showed up in the attribute value field (in the text box where I might otherwise enter a value, screen shot uploaded): <select class="editable" size="1" name="attvalue" id="cd726c73-9d12-4077-8a53-216c2cde57a7_4_attvalue" role="select"><option value="" role="option"></option><option value="Y" role="option">Y</option><option value="JC RIP" role="option">JC RIP</option><option value="JC CB" role="option">JC CB</option></select> I was clicking the edit and save buttons for the same field intermittently to make this happen. For the fields where this goes wrong it seems to be consistent, but it doesn't go wrong for all fields. No idea if related, but it leaves dropdown boxes visible for fields I am no longer in as well (as visible on screen shot). The reason I was clicking around like this is because I also have a problem with dropdown fields sometimes listing as textboxes or vice versa - have not figured out anything reproducible there. The Cardiology field should be a text box so it showing as dropdown is an example of this. I came across that when I was trying to troubleshoot why dropdown edits don't stick in our data most of the time. Even when done on admin account. Would share with admin account just for good measure but it is not in the list of options when sharing. | ||||
| Steps To Reproduce | In our database, click plus before participant named !test | ||||
| Additional Information | Cardiology is a text box type field, but this doesn't consistenly happen for other text box type fields. We have 18 attributes which causes problems editing them anyway, I just raised a different issue for that (09946). | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | Version 2.06+ Build 150930 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Firefox | ||||
| Database type & version | MySQL 5.6.15-cll-lve | ||||
| Server OS (if known) | Linux | ||||
| Webserver software & version (if known) | Apache 2.4.12 | ||||
| PHP Version | PHP version: 5.5.25 | ||||
|
Not sure if this is related or not, but I just noticed that the fields that show as drop-downs are not consistent with the fields that are declared so. In inconsistent dropdown listed vs declared.png Cardiology and Gastroenterology are both declared as text boxes, yet list with dropdowns. Endo* is also declared text but doesn't list as dropdown. |
|
|
If I understand correctly then there would be one entry in ls_participant_attribute for every possible combination between ls_participants and ls_attribute_names. Is that right? If so, we are missing a bunch, ie the following query is not empty. Am I right that it should be empty? Could that be related to the glitches? select all_possible., pa. from left join ls_participant_attribute as pa where pa.participant_id is null |
|
|
Please try in latest 2.5. |
|
|
Hi Olle, |
|
|
Hi ttenbergen, We have ambitions to make 2.5 stable this week. But as I wrote in the other bug, check-out preview.limesurvey.org. |
|
|
Hi Olle... Just tried http://preview.limesurvey.org/, got "PHP warning" with |
|
|
Hi Olle, so the other link you sent included the "admin" part of the URL, and that worked. I just tried to add an attribute and am getting an "error Status: 'Internal Server Error'. Error code 500" error. |
|
|
Can confirm. |
|
|
The problem seem to be that jqgrid doesn't really "get" when you click on an attribute with another type than the last one. One has to cancel and then click edit again. I assume this is a bug with jqgrid, so I'm not sure we will fix it. The latest version of jqgrid is not GPL. |
|
|
Should now be fixed. Please update to latest version and confirm. |
|
|
Version 2.50+ Build 160316 released |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-10-05 23:20 | ttenbergen | New Issue | |
| 2015-10-05 23:20 | ttenbergen | File Added: form code reveal.png | |
| 2015-10-15 04:12 | ttenbergen | File Added: inconsistent dropdown listed vs declared.png | |
| 2015-10-15 04:14 | ttenbergen | Note Added: 33345 | |
| 2015-10-15 18:13 | ttenbergen | Note Added: 33356 | |
| 2016-01-22 15:05 | ollehar | Note Added: 34361 | |
| 2016-01-22 15:05 | ollehar | Assigned To | => ollehar |
| 2016-01-22 15:05 | ollehar | Status | new => acknowledged |
| 2016-01-22 15:12 | ollehar | Status | acknowledged => assigned |
| 2016-01-22 22:40 | ttenbergen | Note Added: 34368 | |
| 2016-01-25 14:52 | ollehar | Note Added: 34379 | |
| 2016-01-25 17:34 | ttenbergen | Note Added: 34387 | |
| 2016-01-25 17:45 | ttenbergen | File Added: Limesurvey 25 error adding attributes.png | |
| 2016-01-25 17:46 | ttenbergen | Note Added: 34389 | |
| 2016-02-02 12:13 | ollehar | Note Added: 34471 | |
| 2016-02-02 12:13 | ollehar | Status | assigned => acknowledged |
| 2016-02-02 17:10 | ollehar | Note Added: 34479 | |
| 2016-02-09 12:12 | ollehar | Assigned To | ollehar => |
| 2016-03-15 11:22 |
|
Product Version | => 2.5 |
| 2016-03-15 11:28 | ollehar | Note Added: 36499 | |
| 2016-03-15 11:28 | ollehar | Status | acknowledged => resolved |
| 2016-03-15 11:28 | ollehar | Fixed in Version | => 2.5 |
| 2016-03-15 11:28 | ollehar | Resolution | open => fixed |
| 2016-03-15 11:28 | ollehar | Assigned To | => ollehar |
| 2016-03-16 09:18 | c_schmitz | Note Added: 36528 | |
| 2016-03-16 09:18 | c_schmitz | Status | resolved => closed |