View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
06958 | Bug reports | Survey participants (Tokens) | public | 2012-11-26 14:13 | 2012-12-04 13:16 |
Reporter | pfpDave | Assigned To | mdekker | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00+ | ||||
Fixed in Version | 2.00+ | ||||
Summary | 06958: Error 2048 intermittently when adding tokens to CPD from survey with custom attributes set | ||||
Description | I've seen this a few times now but it doesn't appear to do it all the time. To reproduce:
NB: The pre-mapped attributes don't have friendly names ie 'attribute_cpdb_2' NB I Also get a minor JS error on the mapping screen (but I always get this): TypeError: $(this).qtip is not a function <h1>PHP Error [2048]</h1> Non-static method ParticipantAttributeNames::getAttributeNames() should not be called statically, assuming $this from incompatible context (C:\limesurvey_test\application\models\Participants.php:1265) #0 C:\limesurvey_test\application\models\Participants.php(1265): LSYii_Application->handleError() | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 121121 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | IE8 | ||||
Database type & version | SQL Express 2012 | ||||
Server OS (if known) | Server 2008 | ||||
Webserver software & version (if known) | IIS 7 | ||||
PHP Version | 5.4.8 | ||||
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10529 |
|
Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10530 |
|
replaced static calls |
|
Test on build 121127 (using participants.php file from Master branch below) and behaviour is identical. Error below. Also the JS error still exists: TypeError: $(this).qtip is not a function hide: {when: 'mouseout'} Error: <h1>PHP Error [2048]</h1> Non-static method ParticipantAttributeNames::getAttributeNames() should not be called statically, assuming $this from incompatible context (C:\limesurvey_test\application\models\Participants.php:1271) #0 C:\limesurvey_test\application\models\Participants.php(1271): LSYii_Application->handleError() |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10536 |
|
Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10539 |
|
I missed two static calls. Think I fixed the js error too. |
|
That looks much better, very many thanks! |
|
LimeSurvey 2.0+ build 121204 released. |
|
LimeSurvey: master 327b5c92 2012-11-28 16:44 Details Diff |
Fixed 06958: Error 2048 intermittently when adding tokens to CPD from survey with custom attributes set |
Affected Issues 06958 |
|
mod - application/models/Participants.php | Diff File | ||
LimeSurvey: 2.1 fdaa9670 2012-11-28 16:44 Details Diff |
Fixed 06958: Error 2048 intermittently when adding tokens to CPD from survey with custom attributes set |
Affected Issues 06958 |
|
mod - application/models/Participants.php | Diff File | ||
LimeSurvey: master 1d2cdb8f 2012-11-28 19:34 Details Diff |
Fixed 06958: Error 2048 intermittently when adding tokens to CPD from survey with custom attributes set |
Affected Issues 06958 |
|
mod - application/models/ParticipantAttributeNames.php | Diff File | ||
mod - application/models/Participants.php | Diff File | ||
LimeSurvey: 2.1 4c60d780 2012-11-28 19:34 Details Diff |
Fixed 06958: Error 2048 intermittently when adding tokens to CPD from survey with custom attributes set |
Affected Issues 06958 |
|
mod - application/models/ParticipantAttributeNames.php | Diff File | ||
mod - application/models/Participants.php | Diff File | ||
LimeSurvey: master 5b9c8eeb 2012-11-28 20:05 Details Diff |
Fixed 06958: Error 2048 intermittently when adding tokens to CPD from survey with custom attributes set |
Affected Issues 06958 |
|
mod - application/controllers/admin/participantsaction.php | Diff File | ||
mod - application/views/admin/participants/attributeMapToken_view.php | Diff File | ||
LimeSurvey: 2.1 cf859546 2012-11-28 20:05 Details Diff |
Fixed 06958: Error 2048 intermittently when adding tokens to CPD from survey with custom attributes set |
Affected Issues 06958 |
|
mod - application/controllers/admin/participantsaction.php | Diff File | ||
mod - application/views/admin/participants/attributeMapToken_view.php | Diff File | ||
mod - application/views/admin/participants/attributeMap_view.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-11-26 14:13 | pfpDave | New Issue | |
2012-11-28 16:43 | mdekker | Assigned To | => mdekker |
2012-11-28 16:43 | mdekker | Status | new => assigned |
2012-11-28 16:45 | mdekker | Changeset attached | => LimeSurvey master 327b5c92 |
2012-11-28 16:45 | mdekker | Note Added: 22642 | |
2012-11-28 16:45 | mdekker | Resolution | open => fixed |
2012-11-28 16:45 | mdekker | Changeset attached | => LimeSurvey 2.1 fdaa9670 |
2012-11-28 16:45 | mdekker | Note Added: 22643 | |
2012-11-28 16:45 | mdekker | Note Added: 22644 | |
2012-11-28 16:59 | pfpDave | Note Added: 22647 | |
2012-11-28 20:08 | mdekker | Changeset attached | => LimeSurvey master 1d2cdb8f |
2012-11-28 20:08 | mdekker | Changeset attached | => LimeSurvey master 5b9c8eeb |
2012-11-28 20:08 | mdekker | Note Added: 22655 | |
2012-11-28 20:09 | mdekker | Changeset attached | => LimeSurvey 2.1 4c60d780 |
2012-11-28 20:09 | mdekker | Changeset attached | => LimeSurvey 2.1 cf859546 |
2012-11-28 20:09 | mdekker | Note Added: 22656 | |
2012-11-28 20:10 | mdekker | Note Added: 22657 | |
2012-11-29 10:37 | pfpDave | Note Added: 22672 | |
2012-11-29 11:02 | mdekker | Status | assigned => resolved |
2012-11-29 11:02 | mdekker | Fixed in Version | => 2.00+ |
2012-12-04 13:16 | c_schmitz | Note Added: 22870 | |
2012-12-04 13:16 | c_schmitz | Status | resolved => closed |
2016-12-08 10:39 | c_schmitz | Category | Tokens => Survey participants (Tokens) |