View Issue Details

IDProjectCategoryView StatusLast Update
15386Bug reports[All Projects] Pluginspublic2019-10-09 10:22
Reporterbismark Assigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary15386: create new event afterTokensTableCreated
Description

in application/models/Token::createTable()

TagsNo tags attached.
Complete LimeSurvey version number (& build)master
I will donate to the project if issue is resolvedNo
Browser
Database & DB-Version10.1.26-MariaDB
Server OS (if known)
Webserver software & version (if known)
PHP Version7.1.8

Relationships

related to 15387 new create new event afterTimingsTableCreated 

Activities

ollehar

ollehar

2019-10-08 14:35

administrator   ~53949

@DenisChenu any comment on this event?

DenisChenu

DenisChenu

2019-10-08 15:22

developer   ~53951

Except make it generalist ( if it's possible with clean code)
Maybe in https://github.com/LimeSurvey/LimeSurvey/blob/master/application/models/LSActiveRecord.php
Why not :)

DenisChenu

DenisChenu

2019-10-08 15:32

developer   ~53954

About more generalist : Same event system for https://bugs.limesurvey.org/view.php?id=15387 and this one.

In LSActiveRecords :
$eventName = 'beforeCreate'.get_class($this)).'Table'
for example (not reviewed code, only idea).

Something near https://manual.limesurvey.org/Plugin_events#Model_Events

bismark

bismark

2019-10-09 10:22

reporter   ~53956

https://github.com/LimeSurvey/LimeSurvey/pull/1328

Issue History

Date Modified Username Field Change
2019-10-08 11:13 bismark New Issue
2019-10-08 14:35 ollehar Note Added: 53949
2019-10-08 15:22 DenisChenu Note Added: 53951
2019-10-08 15:29 DenisChenu Relationship added related to 15387
2019-10-08 15:32 DenisChenu Note Added: 53954
2019-10-09 10:22 bismark Note Added: 53956