- Posts: 328
- Thank you received: 41
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
beforePermissionSetSave, no dispatchEvent?
- Jmantysalo
-
Topic Author
- Offline
- Platinum Member
-
Less
More
2 years 6 months ago #205128
by Jmantysalo
Note: If I asked something and forgot to say version, I am using LS 5.x.
beforePermissionSetSave, no dispatchEvent? was created by Jmantysalo
Can someone confirm? In application/models/Permission.php there is
but
has no corresponding dispatchEvent.
Code:
$event = new \LimeSurvey\PluginManager\PluginEvent('getGlobalBasePermissions'); $result = App()->getPluginManager()->dispatchEvent($event);
but
Code:
$oEvent = new \LimeSurvey\PluginManager\PluginEvent('beforePermissionSetSave');
has no corresponding dispatchEvent.
Note: If I asked something and forgot to say version, I am using LS 5.x.
The topic has been locked.
- DenisChenu
-
- Away
- LimeSurvey Community Team
-
Less
More
- Posts: 12895
- Thank you received: 2371
2 years 6 months ago #205131
by DenisChenu
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.
Replied by DenisChenu on topic beforePermissionSetSave, no dispatchEvent?
Yiou can just create a sample plugin and report the issue ?
Else : please give code link …
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
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 328
- Thank you received: 41
2 years 6 months ago #205132
by Jmantysalo
github.com/LimeSurvey/LimeSurvey/blob/ma.../Permission.php#L262
Contains creation of oEvent-variable that is sent nowhere.
Note: If I asked something and forgot to say version, I am using LS 5.x.
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.
Note: If I asked something and forgot to say version, I am using LS 5.x.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
-
- Away
- LimeSurvey Community Team
-
Less
More
- Posts: 12895
- Thank you received: 2371
2 years 6 months ago #205147
by DenisChenu
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.
Replied by DenisChenu on topic beforePermissionSetSave, no dispatchEvent?
I confirmJmantysalo wrote:
Code:$oEvent = new \LimeSurvey\PluginManager\PluginEvent('beforePermissionSetSave');
has no corresponding dispatchEvent.

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
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 328
- Thank you received: 41
2 years 6 months ago #205148
by Jmantysalo
Note: If I asked something and forgot to say version, I am using LS 5.x.
Replied by Jmantysalo on topic beforePermissionSetSave, no dispatchEvent?
OK, I made a bug report:
bugs.limesurvey.org/view.php?id=16662
Note: If I asked something and forgot to say version, I am using LS 5.x.
The following user(s) said Thank You: DenisChenu
The topic has been locked.