6.0.0-alpha14
7/2/25

[#15112] varable not set
Summary varable not set
Queue Turba
Queue Version 4.2.27
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester horde (at) bugs (dot) uni-bremen (dot) de
Created 06/08/2022 (1120 days ago)
Due
Updated 06/12/2022 (1116 days ago)
Assigned
Resolved 06/12/2022 (1116 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/12/2022 08:48:13 PM Michael Rubinsky State ⇒ Resolved
 
06/12/2022 08:48:07 PM Michael Rubinsky Comment #5 Reply to this comment
Fixed in 4.2.28
06/12/2022 06:09:49 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (master):

commit b7c5423dff9f8df5d21f9a1bef5b3f7840315ac4
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sun, 12 Jun 2022 14:09:42 -0400

Bug: 15112  Fix regression creating new address book sources.

'source' is not a required parameter for all drivers and therefore will
not always be set here.

  M lib/Factory/Driver.php

https://github.com/horde/turba/commit/b7c5423dff9f8df5d21f9a1bef5b3f7840315ac4
06/12/2022 06:08:04 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit 0f90c90afa8e9eb40bfb322df5831fb768718814
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sun, 12 Jun 2022 14:06:45 -0400

Bug: 15112  Fix regression creating new address book sources.

'source' is not a required parameter for all drivers and therefore will
not always be set here.

  M lib/Factory/Driver.php

https://github.com/horde/turba/commit/0f90c90afa8e9eb40bfb322df5831fb768718814
06/09/2022 11:09:14 AM horde (at) bugs (dot) uni-bremen (dot) de Comment #2 Reply to this comment
Hello!

If I login on the webmail into imp  horde with php7.4 wrote this into 
the horde.log:

2022-06-09T12:43:21+02:00 NOTICE: HORDE [turba] PHP ERROR: Undefined 
index:  [pid 1217 on line 64 of 
"/var/www/horde3/turba/lib/Factory/Driver.php"]
2022-06-09T12:43:21+02:00 DEBUG: HORDE  1. 
IMP_Dynamic_Base->__construct() /var/www/horde3/imp/dynamic.php:33
  2. IMP_Dynamic_Mailbox->_init() /var/www/horde3/imp/lib/Dynamic/Base.php:90
  3. Horde_Injector->getInstance() 
/var/www/horde3/imp/lib/Dynamic/Mailbox.php:66
  4. Horde_Injector->createInstance() /usr/share/php/Horde/Injector.php:272
  5. Horde_Injector_Binder_AnnotatedSetters->create() 
/usr/share/php/Horde/Injector.php:238
  6. Horde_Injector_Binder_Implementation->create() 
/usr/share/php/Horde/Injector/Binder/AnnotatedSetters.php:78
  7. Horde_Injector_Binder_Implementation->_getInstance() 
/usr/share/php/Horde/Injector/Binder/Implementation.php:70
  8. ReflectionClass->newInstanceArgs() 
/usr/share/php/Horde/Injector/Binder/Implementation.php:88
  9. Horde_View_Topbar->__construct()
10. Horde_Core_Topbar->getTree() /var/www/horde3/lib/View/Topbar.php:54
11. Horde_Registry->callAppMethod() /usr/share/php/Horde/Core/Topbar.php:221
12. Turba_Application->topbarCreate() /usr/share/php/Horde/Registry.php:1197
13. Turba::getAddressBooks() /var/www/horde3/turba/lib/Application.php:465
14. Turba::permissionsFilter() /var/www/horde3/turba/lib/Turba.php:81
15. Turba_Factory_Driver->createFromConfig() 
/var/www/horde3/turba/lib/Turba.php:434
16. Horde_ErrorHandler::errorHandler() 
/var/www/horde3/turba/lib/Factory/Driver.php:64

If I do it with php7.2
2022-06-09T13:02:48+02:00 NOTICE: HORDE [turba] PHP ERROR: Undefined 
index:  [pid 1989 on line 64 of 
"/var/www/horde3/turba/lib/Factory/Driver.php"]
2022-06-09T13:02:48+02:00 DEBUG: HORDE  1. Horde_Registry::appInit() 
/var/www/horde3/services/ajax.php:37
  2. Horde_Registry->pushApp() /usr/share/php/Horde/Registry.php:298
  3. Horde_Registry->callAppMethod() /usr/share/php/Horde/Registry.php:1635
  4. Horde_Registry_Application->init() /usr/share/php/Horde/Registry.php:1197
  5. Kronolith_Application->_init() 
/usr/share/php/Horde/Registry/Application.php:117
  6. Kronolith::initialize() /var/www/horde3/kronolith/lib/Application.php:86
  7. Horde_Injector->createInstance() 
/var/www/horde3/kronolith/lib/Kronolith.php:758
  8. Horde_Injector_Binder_AnnotatedSetters->create() 
/usr/share/php/Horde/Injector.php:238
  9. Horde_Injector_Binder_Implementation->create() 
/usr/share/php/Horde/Injector/Binder/AnnotatedSetters.php:78
10. Horde_Injector_Binder_Implementation->_getInstance() 
/usr/share/php/Horde/Injector/Binder/Implementation.php:70
11. ReflectionClass->newInstanceArgs() 
/usr/share/php/Horde/Injector/Binder/Implementation.php:88
12. Kronolith_CalendarsManager->__construct()
13. Kronolith_CalendarsManager->_checkDisplayCals() 
/var/www/horde3/kronolith/lib/CalendarsManager.php:132
14. Kronolith_CalendarsManager->_getDisplayExternal() 
/var/www/horde3/kronolith/lib/CalendarsManager.php:300
15. Kronolith_CalendarsManager->get() 
/var/www/horde3/kronolith/lib/CalendarsManager.php:525
16. Kronolith_CalendarsManager->_getAllExternal() 
/var/www/horde3/kronolith/lib/CalendarsManager.php:189
17. Horde_Registry->call() 
/var/www/horde3/kronolith/lib/CalendarsManager.php:475
18. Horde_Registry->callByPackage() /usr/share/php/Horde/Registry.php:1089
19. Horde_Registry->pushApp() /usr/share/php/Horde/Registry.php:1128
20. Horde_Registry->callAppMethod() /usr/share/php/Horde/Registry.php:1635
21. Horde_Registry_Application->init() /usr/share/php/Horde/Registry.php:1197
22. Turba_Application->_init() 
/usr/share/php/Horde/Registry/Application.php:117
23. Turba::getAddressBooks() /var/www/horde3/turba/lib/Application.php:148
24. Turba::permissionsFilter() /var/www/horde3/turba/lib/Turba.php:83
25. Turba_Factory_Driver->createFromConfig() 
/var/www/horde3/turba/lib/Turba.php:434
26. Horde_ErrorHandler::errorHandler() 
/var/www/horde3/turba/lib/Factory/Driver.php:64


There are no "hooks" enabled.

With turba 4.2.25 everything is fine.

Regards
Arnold
06/08/2022 03:56:45 PM horde (at) bugs (dot) uni-bremen (dot) de Comment #1 (Private)
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ varable not set
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
[Hidden]

Saved Queries