==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this link:
http://bugs.contribs.org/show_bug.cgi?id=9133
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
Bug ID: 9133
Summary: Invalid event: "group-modify" for
Classification: Contribs
Product: SME Contribs
Version: 8.1
Hardware: ---
OS: ---
Status: CONFIRMED
Severity: normal
Priority: P3
Component: smeserver-git
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Installed server-git contrib on v8.1
When I try to update a group I get the following error in the groups panel.
"Operation status report
An error occurred while modifying user group."
The following is noted in /var/log/messages
Running event handler:
/etc/e-smith/events/group-modify/S05git-delete-user-or-group-from-access-list
Invalid event: "group-modify" for "it_dept" . at
/etc/e-smith/events/group-modify/S05git-delete-user-or-group-from-access-list
line 51.
Here's the code
43 my @entries = qw();
44 if ($event eq 'user-delete') {
45 # Setup to scan for users
46 @entries = qw(UsersWrite UsersRead);
47 } elsif ($event eq 'group-delete') {
48 # Setup to scan for groups
49 @entries = qw(GroupsWrite GroupsRead);
50 } else {
51 die "Invalid event: \"$event\" for \"$item\" .";
52 }
Seems like it gets an invalid event here unless the event is user-delete or
group-delete. Presumably there should be something to catch the "group-modify"
event.
Or maybe the template should not be in the 'group-modify' directory ?
I'd look at a patch but not sure what you want done in the event of a modify
event if anything.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/