Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

0007460: check existence of group/list before user import #3773

Closed
Gloirin opened this issue Jun 9, 2018 · 0 comments
Closed

0007460: check existence of group/list before user import #3773

Gloirin opened this issue Jun 9, 2018 · 0 comments
Assignees
Labels
Bug Courses Mantis Migrated from old Mantis bugtracker forge.tine20.org

Comments

@Gloirin
Copy link
Contributor

Gloirin commented Jun 9, 2018

Reported by pschuele on 21 Nov 2012 14:50

Version: Joey (2012.10.1)

check existence of group/list before user import

  • this should prevent the creation of users in LDAP even if group/list does not exist

Additional information: 2b1d0 - 2012-11-19T20:14:36+00:00 ERR (3): Admin_Controller_User::create::273 Addressbook_Model_List record with id = ce62003858062b852d827f4a98be62e198bbef65 not found!
2b1d0 - 2012-11-19T20:14:36+00:00 DEBUG (7): Admin_Controller_User::create::274 #0 /usr/share/tine20/Tinebase/Backend/Sql/Abstract.php(202): Tinebase_Backend_Sql_Abstract->getByProperty('ce62003858062b8...', 'id', false)
#1 /usr/share/tine20/Tinebase/Controller/Record/Abstract.php(305): Tinebase_Backend_Sql_Abstract->get('ce62003858062b8...')
#2 /usr/share/tine20/Addressbook/Controller/List.php(90): Tinebase_Controller_Record_Abstract->get('ce62003858062b8...')
#3 /usr/share/tine20/Admin/Controller/Group.php(269): Addressbook_Controller_List->addListMember('ce62003858062b8...', '7f87f8cbf82dc99...')
#4 /usr/share/tine20/Admin/Controller/Group.php(134): Admin_Controller_Group->addGroupMember('adc322c6-c6d0-1...', '7bc789b4-c6d1-1...')
#5 /usr/share/tine20/Admin/Controller/User.php(267): Admin_Controller_Group->setGroupMemberships(Object(Tinebase_Model_FullUser), Array)
#6 /usr/share/tine20/Admin/Import/Csv.php(89): Admin_Controller_User->create(Object(Tinebase_Model_FullUser), 'mtg123', 'mtg123')
#7 /usr/share/tine20/Tinebase/Import/Abstract.php(236): Admin_Import_Csv->_importRecord(Object(Tinebase_Model_FullUser), NULL, Array)
#8 /usr/share/tine20/Tinebase/Import/Abstract.php(136): Tinebase_Import_Abstract->_doImport(Resource id #259, Array)
#9 /usr/share/tine20/Tinebase/Import/Abstract.php(96): Tinebase_Import_Abstract->import(Resource id #259, Array)
#10 /usr/share/tine20/Courses/Controller/Course.php(453): Tinebase_Import_Abstract->importFile('/var/lib/tine20...')
#11 /usr/share/tine20/Courses/Frontend/Json.php(220): Courses_Controller_Course->importMembers('74fc33168803994...', 'adc322c6-c6d0-1...', '4daf108718ff675...')
#12 [internal function]: Courses_Frontend_Json->importMembers('74fc33168803994...', 'adc322c6-c6d0-1...', '4daf108718ff675...')
#13 /usr/share/tine20/library/Zend/Server/Abstract.php(232): call_user_func_array(Array, Array)
#14 /usr/share/tine20/Zend/Json/Server.php(558): Zend_Server_Abstract->_dispatch(Object(Zend_Server_Method_Definition), Array)
#15 /usr/share/tine20/Zend/Json/Server.php(197): Zend_Json_Server->_handle()
#16 /usr/share/tine20/Tinebase/Server/Json.php(192): Zend_Json_Server->handle(Object(Zend_Json_Server_Request))
#17 /usr/share/tine20/Tinebase/Server/Json.php(71): Tinebase_Server_Json->_handle(Object(Zend_Json_Server_Request))
#18 /usr/share/tine20/Tinebase/Core.php(241): Tinebase_Server_Json->handle()
#19 /usr/share/tine20/index.php(57): Tinebase_Core::dispatchRequest()
#20 {main}

@Gloirin Gloirin added this to the Joey (2012.10.2) milestone Jun 9, 2018
@Gloirin Gloirin self-assigned this Jun 9, 2018
@Gloirin Gloirin added Bug Courses Mantis Migrated from old Mantis bugtracker forge.tine20.org labels Jun 9, 2018
@Gloirin Gloirin closed this as completed Jun 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Courses Mantis Migrated from old Mantis bugtracker forge.tine20.org
Projects
None yet
Development

No branches or pull requests

1 participant