When mixed group plugin is installed group and ogroup tabs should be merged
When mixed group plugin is installed group and ogroup tabs should be merged
(from redmine: issue id 4173, created on 2015-09-30, closed on 2015-10-12)
- Relations:
- copied_to #4169
- Changesets:
- Revision ebdd55b4 by Côme Chilliet on 2015-09-30T08:43:15.000Z:
Fixes #4173 Merging group and ogroup tabs when mixed groups is installed
- Revision ed71d74d by Côme Chilliet on 2015-09-30T08:43:56.000Z:
Fixes #4173 Merging group and ogroup tabs when mixed groups is installed
- Revision 32c26838 by Côme Chilliet on 2015-09-30T14:22:29.000Z:
Fixes #4173 fixed an error when using virtual objectTypes like ogroup-users
- Revision 4ca91159 by Côme Chilliet on 2015-09-30T14:23:29.000Z:
Fixes #4173 fixed an error when using virtual objectTypes like ogroup-users
- Revision a8d7f82e by Côme Chilliet on 2015-10-06T14:18:04.000Z:
Fixes #4173 group tabs should be put on ogroup-users and not ogroups.
- Revision 50a0ca04 by Côme Chilliet on 2015-10-06T14:18:59.000Z:
Fixes #4173 group tabs should be put on ogroup-users and not ogroups.
- Revision 9d590471 by Côme Chilliet on 2015-10-12T13:42:36.000Z:
Fixes #4173 Fixed another error with virtual object types
- Revision 0f48e8c0 by Côme Chilliet on 2015-10-12T13:43:32.000Z:
Fixes #4173 Fixed another error with virtual object types
- Custom Fields:
- Bug in version: 1.0.9
Link issues together to show that they're related. Learn more.
Activity
Following error appeared after deleting the primary group and adding it again with forcing the right GID. Problenm appeared after using the fixes 4169 and 4173.
Fatal error: Uncaught exception 'NonExistingObjectTypeException' with message 'Non-existing type "ogroup-user"' in /usr/share/fusiondirectory/include/class_objects.inc:214 Stack trace: #0 /usr/share/fusiondirectory/include/simpleplugin/class_attribute.inc(454): objects::infos('ogroup-user') #1 [internal function]: Attribute->{closure}(0, 'ogroup-user') #2 /usr/share/fusiondirectory/include/simpleplugin/class_attribute.inc(459): array_map(Object(Closure), Array, Array) #3 /usr/share/fusiondirectory/include/simpleplugin/class_attribute.inc(1246): Attribute->check() #4 /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc(686): IntAttribute->check() #5 /usr/share/fusiondirectory/plugins/admin/ogroups/mixedgroups/class_mixedGroup.inc(117): simplePlugin->check() #6 /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc(367): mixedGroup->check() #7 /usr/share/fusiondirectory/plugins/admin/groups/tabs_ogroups.inc(138): simpleTabs->check(false) #8 /usr/share/fusiondirectory/include/class_management. in /usr/share/fusiondirectory/include/class_objects.inc on line 214
(from redmine: written on 2015-09-30)
By mr_claus on 2017-09-02T15:23:57 (imported from GitLab)
The samba tab appears and could be enabled for this group, but after saving it following problem appears:
Oups. Seems like you've catched some kind of bug inside FusionDirectory/PHP. You may want to help us to improve the software stability. If so, please provide some more information below.
*** FusionDirectory bug report *** FusionDirectory Version: 1.0.9
Please describe what you did to produce this error as detailed as possible. Can you reproduce this bug using the demo on http://demo.FusionDirectory.org ?
*** PHP error information ***
=== Error === PHP error: Undefined property: ogroup::$gidNumber (/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc, line 228) === /Error ===
=== Trace === Trace[0]:Funktion html_trace File : /usr/share/fusiondirectory/include/php_setup.inc Line : 226 Type : - "Undefined property: ogroup::$gidNumber"
Trace[1]:Funktion gosaRaiseError File : /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc Line : 228 Type : - "8","Undefined property: ogroup::$gidNumber","/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc","228",array("gidNumber",CLASS: ogroup)
Trace[2]:Klasse simplePlugin / Funktion __get File : /usr/share/fusiondirectory/plugins/admin/groups/samba/class_sambaGroup.inc Line : 157 Type : Methode "gidNumber"
Trace[3]:Klasse sambaGroup / Funktion getSambaSID File : /usr/share/fusiondirectory/plugins/admin/groups/samba/class_sambaGroup.inc Line : 142 Type : Methode
Trace[4]:Klasse sambaGroup / Funktion prepare_save File : /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc Line : 599 Type : Methode
Trace[5]:Klasse simplePlugin / Funktion save File : /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc Line : 419 Type : Methode
Trace[6]:Klasse simpleTabs / Funktion save File : /usr/share/fusiondirectory/plugins/admin/groups/tabs_ogroups.inc Line : 154 Type : Methode
Trace[7]:Klasse ogrouptabs / Funktion save File : /usr/share/fusiondirectory/include/class_management.inc Line : 766 Type : Methode
Trace[8]:Klasse management / Funktion saveChanges File : /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc Line : 538 Type : Methode
Trace[9]:Klasse simpleManagement / Funktion saveChanges File : /usr/share/fusiondirectory/include/class_management.inc Line : 473 Type : Methode "save",array(),array("save",array())
Trace[10]:Klasse management / Funktion handleActions File : /usr/share/fusiondirectory/include/class_management.inc Line : 179 Type : Methode array("save")
Trace[11]:Klasse management / Funktion execute File : /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc Line : 934 Type : Methode
Trace[12]:Klasse simpleManagement / Funktion mainInc File : /usr/share/fusiondirectory/plugins/admin/groups/main.inc Line : 21 Type : statisch "groupManagement"
Trace[13]:Funktion require File : /usr/share/fusiondirectory/html/main.php Line : 286 Type : - "/usr/share/fusiondirectory/plugins/admin/groups/main.inc" === /Trace ===
(from redmine: written on 2015-09-30)
By mr_claus on 2017-09-02T15:23:57 (imported from GitLab)
Error after opening an existing group, changing to tab sambaGroup and saving. After aplying all latest fixes from git.
Oups. Seems like you've catched some kind of bug inside FusionDirectory/PHP. You may want to help us to improve the software stability. If so, please provide some more information below.
*** FusionDirectory bug report *** FusionDirectory Version: 1.0.9
Please describe what you did to produce this error as detailed as possible. Can you reproduce this bug using the demo on http://demo.FusionDirectory.org ?
*** PHP error information ***
=== Error === PHP error: Undefined index: group (/usr/share/fusiondirectory/plugins/admin/groups/samba/class_sambaGroup.inc, line 158) === /Error ===
=== Trace === Trace[0]:Funktion html_trace File : /usr/share/fusiondirectory/include/php_setup.inc Line : 226 Type : - "Undefined index: group"
Trace[1]:Funktion gosaRaiseError File : /usr/share/fusiondirectory/plugins/admin/groups/samba/class_sambaGroup.inc Line : 158 Type : - "8","Undefined index: group","/usr/share/fusiondirectory/plugins/admin/groups/samba/class_sambaGroup.inc","158",array(CLASS: ldapMultiplexer)
Trace[2]:Klasse sambaGroup / Funktion getSambaSID File : /usr/share/fusiondirectory/plugins/admin/groups/samba/class_sambaGroup.inc Line : 142 Type : Methode
Trace[3]:Klasse sambaGroup / Funktion prepare_save File : /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc Line : 599 Type : Methode
Trace[4]:Klasse simplePlugin / Funktion save File
(from redmine: written on 2015-10-01)
By mr_claus on 2017-09-02T15:23:58 (imported from GitLab)
hello,
on the latest build of jenkins 1.0.9-2~jenkinsbuild22, i get exactly the stack trace mentionned above
i go to posixtab group, check force gid and click ok for save and get the stack trace
Cheers
Reopen issue
(from redmine: written on 2015-10-09)
By bmortier on 2017-09-02T15:24:00 (imported from GitLab)
hello,
here is a fresh trace from latest build
DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc:save_object():242) - Saving: 'mixedGroup' DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc:save_object():558) - save_object: 'cn=test-groupofnames-classical,ou=groups,dc=labo,dc=opensides,dc=be' DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc:check():365) - Checking: 'ogroup' DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc:check():681) - check: 'cn=test-groupofnames-classical,ou=groups,dc=labo,dc=opensides,dc=be' DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc:check():365) - Checking: 'mixedGroup' DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc:check():681) - check: 'cn=test-groupofnames-classical,ou=groups,dc=labo,dc=opensides,dc=be'
Fatal error: Uncaught exception 'NonExistingObjectTypeException' with message 'Non-existing type "ogroup-user"' in /usr/share/fusiondirectory/include/class_objects.inc:214 Stack trace: #0 /usr/share/fusiondirectory/include/simpleplugin/class_attribute.inc(476): objects::infos('ogroup-user') #1 [internal function]: Attribute->{closure}(0, 'ogroup-user') #2 /usr/share/fusiondirectory/include/simpleplugin/class_attribute.inc(481): array_map(Object(Closure), Array, Array) #3 /usr/share/fusiondirectory/include/simpleplugin/class_attribute.inc(1250): Attribute->check() #4 /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc(686): IntAttribute->check() #5 /usr/share/fusiondirectory/plugins/admin/ogroups/mixedgroups/class_mixedGroup.inc(117): simplePlugin->check() #6 /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc(367): mixedGroup->check() #7 /usr/share/fusiondirectory/plugins/admin/groups/tabs_ogroups.inc(138): simpleTabs->check(false) #8 /usr/share/fusiondirectory/include/class_management. in /usr/share/fusiondirectory/include/class_objects.inc on line 214
Cheers
(from redmine: written on 2015-10-12)
By bmortier on 2017-09-02T15:24:02 (imported from GitLab)
- bmortier closed
closed
By Jonathan Swaelens on 2017-09-02T15:23:59 (imported from GitLab)
- bmortier reopened
reopened
By bmortier on 2017-09-02T15:24:00 (imported from GitLab)
- bmortier closed
closed
By bmortier on 2017-09-02T15:24:03 (imported from GitLab)