View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
17717 | Bug reports | User / Groups / Roles | public | 2021-11-11 17:30 | 2021-12-01 09:28 |
Reporter | vitautss | Assigned To | galads | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 5.x | ||||
Summary | 17717: Saving survey group permissions fails with error 500 when auditlog plugin is active | ||||
Description | It is not possible to save survey group permissions. NOTE: AuditLog is activated | ||||
Steps To Reproduce | Steps to reproduceCreate survey group. Expected resultPermission changes are saved, Actual resultError 500 and permission changes not saved. | ||||
Additional Information | AuditLog plugin is active | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | 5.1.15+211011 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MySQL 8.0 | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 7.4 | ||||
I can not reproduce on 5.2.1 |
|
5.2.1 still has this problem. Error Class 'survey' not found /var/www/survey/application/models/Permission.php(103) 091 public static function getEntityBasePermissions($sEntityName) Stack Trace 209 return $aBasePermissions; #1 380 @param ?string $sEntityName #2 195 $event = $this->getEvent(); #3 |
|
Well, my fauilt, forgot to mention AuditLog plugin is enabled. Problem is in this plugin code, see my PR. |
|
Thank you ! Else
Maybe more another potential issues there ? |
|
@vitautss , thank you for reporting this issue. Can you edit the report to include it is caused by the audit log plugin? Also include the link to your PR here as a comment and we will test and update accordingly. |
|
@galads How can I update report? Can't find edit option. |
|
@vitautss , I have already edited the report. Thanks. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=32957 |
|
New version released |
|
LimeSurvey: master f1c836a9 2021-11-13 21:55 Committer: GitHub Details Diff |
Fixed issue 17717: Saving survey group permissions fails with error if auditlog plugin is active (#2141) Dev Method getPermissionSet() expects camelcase entity name. |
Affected Issues 17717 |
|
mod - application/core/plugins/AuditLog/AuditLog.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-11-11 17:30 | vitautss | New Issue | |
2021-11-11 17:30 | vitautss | File Added: 2021-11-11_18-19.png | |
2021-11-11 19:04 | DenisChenu | Note Added: 67258 | |
2021-11-11 19:04 | DenisChenu | Bug heat | 0 => 2 |
2021-11-11 19:36 | vitautss | Note Added: 67261 | |
2021-11-11 19:36 | vitautss | Bug heat | 2 => 4 |
2021-11-11 20:00 | vitautss | Note Added: 67262 | |
2021-11-12 08:00 | DenisChenu | Note Added: 67263 | |
2021-11-12 09:24 | galads | Note Added: 67264 | |
2021-11-12 09:24 | galads | Bug heat | 4 => 6 |
2021-11-12 09:25 | galads | Assigned To | => galads |
2021-11-12 09:25 | galads | Status | new => acknowledged |
2021-11-12 09:39 | galads | Note Added: 67266 | |
2021-11-12 09:39 | galads | Zoho Project Synchronization | => |Yes| |
2021-11-12 09:40 | galads | Status | acknowledged => ready for testing |
2021-11-12 10:06 | vitautss | Note Added: 67269 | |
2021-11-12 10:08 | galads | Summary | Saving survey group permissions fails with error 500 => Saving survey group permissions fails with error 500 when auditlog plugin is active |
2021-11-12 10:08 | galads | Description Updated | |
2021-11-12 10:08 | galads | Additional Information Updated | |
2021-11-12 10:08 | galads | Zoho Project Synchronization | Yes => |Yes| |
2021-11-12 10:09 | galads | Note Added: 67270 | |
2021-11-13 20:55 | vitautss | Changeset attached | => LimeSurvey master f1c836a9 |
2021-11-13 20:55 | guest | Note Added: 67282 | |
2021-11-13 20:55 | guest | Bug heat | 6 => 8 |
2021-11-13 20:56 | c_schmitz | Status | ready for testing => resolved |
2021-11-13 20:56 | c_schmitz | Resolution | open => fixed |
2021-12-01 09:28 | c_schmitz | Note Added: 67629 | |
2021-12-01 09:28 | c_schmitz | Bug heat | 8 => 10 |
2021-12-01 09:28 | c_schmitz | Status | resolved => closed |