View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
08381Bug reportsOtherpublic2013-11-21 11:48
ReporterResearchOnBlogs Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionunable to reproduce 
Product Version2.05 RC 
Summary08381: plugins: Participant::model()->insertParticipant($aData); not working anymore?
Description

I try to use this function in a module to create a participant, but it isn't created AND seems to return TRUE!

In this case it should return FALSE.

I thought this was working in the previous release before.

Steps To Reproduce

My code:
public function beforeActivate(){
$event = $this->event;
$this->createParticipant();
}

public function createParticipant() {
$uuid = Participant::model()->gen_uuid();
$aData = array(
'participant_id' => $uuid,
'firstname' => 'Max1',
'lastname' => 'Muster1',
'email' => 'email@wdede.de',
'language' => 'en',
'blacklisted' => '',
'owner_uid' => 1,
'created_by' => 1
);
Participant::model()->insertParticipant($aData);
}

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build) 131105
I will donate to the project if issue is resolvedNo
Browserx
Database type & versionx
Server OS (if known)x
Webserver software & version (if known)x
PHP Versionx
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2013-11-21 11:48

administrator   ~27286

Works fine in latest git version.

Issue History

Date Modified Username Field Change
2013-11-18 13:15 ResearchOnBlogs New Issue
2013-11-21 11:48 c_schmitz Note Added: 27286
2013-11-21 11:48 c_schmitz Status new => closed
2013-11-21 11:48 c_schmitz Assigned To => c_schmitz
2013-11-21 11:48 c_schmitz Resolution open => unable to reproduce