Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

beforePermissionSetSave, no dispatchEvent?

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 7 months ago #205128 by Jmantysalo
beforePermissionSetSave, no dispatchEvent? was created by Jmantysalo
Can someone confirm? In application/models/Permission.php there is
Code:
$event = new \LimeSurvey\PluginManager\PluginEvent('getGlobalBasePermissions');
$result = App()->getPluginManager()->dispatchEvent($event);

but
Code:
$oEvent = new \LimeSurvey\PluginManager\PluginEvent('beforePermissionSetSave');

has no corresponding dispatchEvent.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #205131 by DenisChenu
Replied by DenisChenu on topic beforePermissionSetSave, no dispatchEvent?
Yiou can just create a sample plugin and report the issue ?

Else : please give code link …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 7 months ago #205132 by Jmantysalo
Replied by Jmantysalo on topic beforePermissionSetSave, no dispatchEvent?

DenisChenu wrote: Else : please give code link …


github.com/LimeSurvey/LimeSurvey/blob/ma.../Permission.php#L262

Contains creation of oEvent-variable that is sent nowhere.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #205147 by DenisChenu
Replied by DenisChenu on topic beforePermissionSetSave, no dispatchEvent?

Jmantysalo wrote:

Code:
$oEvent = new \LimeSurvey\PluginManager\PluginEvent('beforePermissionSetSave');

has no corresponding dispatchEvent.

I confirm :)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 7 months ago #205148 by Jmantysalo
Replied by Jmantysalo on topic beforePermissionSetSave, no dispatchEvent?
OK, I made a bug report: bugs.limesurvey.org/view.php?id=16662
The following user(s) said Thank You: DenisChenu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose