[horde] Issue with Turba on web Horde

Ralf Lang ralf.lang at gmail.com
Tue Mar 17 19:08:02 UTC 2026


You probably want to look into whups and I think it was hermes. they also
got recent commits due to the forms improvement

Dmitry Petrov <dpetrov67 at gmail.com> schrieb am Di., 17. März 2026, 19:26:

> Rather than making getType() public, I made changes in Turba_List_View (as
> it looks like the only place relying to getType() that I missed). The code
> there was clearly not good, so I made multiple improvements.
>
> https://github.com/horde/turba/pull/27
>
> Ralf, the new code relies on recent commits in Horde_Form, please could
> you make new releases of both horde/turba (once the PR is merged) and
> horde/form?
>
>
> On Tue, Mar 17, 2026 at 9:43 AM Dmitry Petrov <dpetrov67 at gmail.com> wrote:
>
>> ... and, one of the reasons I missed it is that I looked for it in *.php
>> files only. It probably makes sense to adjust code and rename those *.inc
>> files to *.inc.php.
>>
>> On Tue, Mar 17, 2026 at 9:38 AM Dmitry Petrov <dpetrov67 at gmail.com>
>> wrote:
>>
>>> Yes, the gettype() had some changes, I intentionally made it private,
>>> but apparently I missed that it was still used in Turba. Let me look into
>>> it.
>>>
>>> On Tue, Mar 17, 2026 at 1:09 AM Ralf Lang <ralf.lang at gmail.com> wrote:
>>>
>>>> Thank you for reporting. @Dmitry Petrov <dpetrov67 at gmail.com> this
>>>> might be something for you as it looks relate to Form library.
>>>>
>>>> Brent <impuser at bitrealm.com> schrieb am Mo., 16. März 2026, 22:50:
>>>>
>>>>> Just did a "composer update" to pick up all the latest packages.
>>>>>
>>>>> If you have any columns selected in Turba, then there's an error when
>>>>> viewing your Address Book. What's interesting is that the error
>>>>> points
>>>>> to a line of code I submitted as an update to a bug a few years ago.
>>>>>
>>>>> To reproduce the error:
>>>>>
>>>>> 1) Go to Preference -> Address Book -> Column Preferences
>>>>> 2) Select "Email" as an option to display
>>>>> 3) Hit Save
>>>>> 4) Now click on Address Book
>>>>>
>>>>> Error is:
>>>>>
>>>>> A fatal error has occurred
>>>>> Call to private method Horde_Form::getType() from scope Turba_View_List
>>>>> in /var/www/horde/vendor/horde/turba/templates/browse/row.inc:75
>>>>>
>>>>> Full/detailed error in logs is:
>>>>>
>>>>> A fatal error has occurred
>>>>> Call to private method Horde_Form::getType() from scope Turba_View_List
>>>>> in /var/www/horde/vendor/horde/turba/templates/browse/row.inc:75
>>>>>
>>>>> 1. require_once() /var/www/horde/web/turba/index.php:3
>>>>> 2. require() /var/www/horde/vendor/horde/turba/index.php:25
>>>>> 3. Turba_View_Browse->run()
>>>>> /var/www/horde/vendor/horde/turba/browse.php:49
>>>>> 4. Turba_View_List->display()
>>>>> /var/www/horde/vendor/horde/turba/lib/View/Browse.php:473
>>>>> 5. Turba_View_List->getAlpha()
>>>>> /var/www/horde/vendor/horde/turba/lib/View/List.php:237
>>>>> 6. Turba_View_List->_get()
>>>>> /var/www/horde/vendor/horde/turba/lib/View/List.php:299
>>>>> 7. include() /var/www/horde/vendor/horde/turba/lib/View/List.php:449
>>>>>
>>>>> Details
>>>>> The full error message is logged in Horde's log file, and is shown
>>>>> below only to administrators. Non-administrative users will not see
>>>>> error details.
>>>>>
>>>>> Error Object
>>>>> (
>>>>>      [message:protected] => Call to private method
>>>>> Horde_Form::getType() from scope Turba_View_List
>>>>>      [string:Error:private] => Error: Call to private method
>>>>> Horde_Form::getType() from scope Turba_View_List in
>>>>> /var/www/horde/vendor/horde/turba/templates/browse/row.inc:75
>>>>> Stack trace:
>>>>> #0 /var/www/horde/vendor/horde/turba/lib/View/List.php(449): include()
>>>>> #1 /var/www/horde/vendor/horde/turba/lib/View/List.php(299):
>>>>> Turba_View_List->_get()
>>>>> #2 /var/www/horde/vendor/horde/turba/lib/View/List.php(237):
>>>>> Turba_View_List->getAlpha()
>>>>> #3 /var/www/horde/vendor/horde/turba/lib/View/Browse.php(473):
>>>>> Turba_View_List->display()
>>>>> #4 /var/www/horde/vendor/horde/turba/browse.php(49):
>>>>> Turba_View_Browse->run()
>>>>> #5 /var/www/horde/vendor/horde/turba/index.php(25): require('...')
>>>>> #6 /var/www/horde/web/turba/index.php(3): require_once('...')
>>>>> #7 {main}
>>>>>      [code:protected] => 0
>>>>>      [file:protected] =>
>>>>> /var/www/horde/vendor/horde/turba/templates/browse/row.inc
>>>>>      [line:protected] => 75
>>>>>      [trace:Error:private] => Array
>>>>>          (
>>>>>              [0] => Array
>>>>>                  (
>>>>>                      [file] =>
>>>>> /var/www/horde/vendor/horde/turba/lib/View/List.php
>>>>>                      [line] => 449
>>>>>                      [function] => include
>>>>>                  )
>>>>>
>>>>>              [1] => Array
>>>>>                  (
>>>>>                      [file] =>
>>>>> /var/www/horde/vendor/horde/turba/lib/View/List.php
>>>>>                      [line] => 299
>>>>>                      [function] => _get
>>>>>                      [class] => Turba_View_List
>>>>>                      [type] => ->
>>>>>                  )
>>>>>
>>>>>              [2] => Array
>>>>>                  (
>>>>>                      [file] =>
>>>>> /var/www/horde/vendor/horde/turba/lib/View/List.php
>>>>>                      [line] => 237
>>>>>                      [function] => getAlpha
>>>>>                      [class] => Turba_View_List
>>>>>                      [type] => ->
>>>>>                  )
>>>>>
>>>>>              [3] => Array
>>>>>                  (
>>>>>                      [file] =>
>>>>> /var/www/horde/vendor/horde/turba/lib/View/Browse.php
>>>>>                      [line] => 473
>>>>>                      [function] => display
>>>>>                      [class] => Turba_View_List
>>>>>                      [type] => ->
>>>>>                  )
>>>>>
>>>>>              [4] => Array
>>>>>                  (
>>>>>                      [file] =>
>>>>> /var/www/horde/vendor/horde/turba/browse.php
>>>>>                      [line] => 49
>>>>>                      [function] => run
>>>>>                      [class] => Turba_View_Browse
>>>>>                      [type] => ->
>>>>>                  )
>>>>>
>>>>>              [5] => Array
>>>>>                  (
>>>>>                      [file] =>
>>>>> /var/www/horde/vendor/horde/turba/index.php
>>>>>                      [line] => 25
>>>>>                      [args] => Array
>>>>>                          (
>>>>>                              [0] =>
>>>>> /var/www/horde/vendor/horde/turba/browse.php
>>>>>                          )
>>>>>
>>>>>                      [function] => require
>>>>>                  )
>>>>>
>>>>>              [6] => Array
>>>>>                  (
>>>>>                      [file] => /var/www/horde/web/turba/index.php
>>>>>                      [line] => 3
>>>>>                      [args] => Array
>>>>>                          (
>>>>>                              [0] =>
>>>>> /var/www/horde/vendor/horde/turba/index.php
>>>>>                          )
>>>>>
>>>>>                      [function] => require_once
>>>>>                  )
>>>>>
>>>>>          )
>>>>>
>>>>>      [previous:Error:private] =>
>>>>> )
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Horde mailing list
>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>>>
>>>>


More information about the horde mailing list