6.0.0-alpha12
6/12/25

[#15120] Nag shows the error "Specified objectId, but failed to specify typeId for getTagCloud call"
Summary Nag shows the error "Specified objectId, but failed to specify typeId for getTagCloud call"
Queue Nag
Queue Version 4.2.19
Type Bug
State Resolved
Priority 2. Medium
Owners mrubinsk (at) horde (dot) org
Requester bjoernv (at) arcor (dot) de
Created 09/22/2022 (994 days ago)
Due
Updated 09/22/2022 (994 days ago)
Assigned 09/22/2022 (994 days ago)
Resolved 09/22/2022 (994 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/22/2022 03:41:33 PM Michael Rubinsky Comment #3
State ⇒ Resolved
Reply to this comment
There were some unintended local changes in my source tree when I 
published the release. This has been fixe in Horde_Core 2.31.18


Thanks for the catch!
09/22/2022 01:53:09 PM Michael Rubinsky Comment #2
Assigned to Michael Rubinsky
State ⇒ Assigned
Reply to this comment
This one has me stumped. Reverting back to Horde_Core 2.31.16 fixes 
this issue, but there was nothing in the change set even remotely 
related to the tagging code.

I'll have to investigate further.
09/22/2022 08:15:59 AM bjoernv (at) arcor (dot) de Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Nag
Summary ⇒ Nag shows the error "Specified objectId, but failed to specify typeId for getTagCloud call"
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Since the last Horde updates on 2022-09-19 Nag does not work anymore. 
If I open Nag, the following error message is shown. The error message 
only appears for users who has at least one task in Nag.

A fatal error has occurred
Specified objectId, but failed to specify typeId for getTagCloud call.
in /srv/www/vhosts/example.com/html/intern/horde5/content/lib/Tagger.php:319

1. require() /srv/www/vhosts/example.com/html/intern/horde5/nag/index.php:20
2. Nag_View_List->render() 
/srv/www/vhosts/example.com/html/intern/horde5/nag/list.php:20
3. Nag_View_List->_getRelatedTags() 
/srv/www/vhosts/example.com/html/intern/horde5/nag/lib/View/List.php:123
4. Horde_Core_TagBrowser->getRelatedTags() 
/srv/www/vhosts/example.com/html/intern/horde5/nag/lib/View/List.php:399
5. Horde_Core_TagBrowser->_getRelatedTagsWithResults() 
/usr/share/php/Horde/Core/TagBrowser.php:188
6. Horde_Core_Tagger->getTagCountsByObjects() 
/usr/share/php/Horde/Core/TagBrowser.php:223
7. Content_Tagger->getTagCloud() /usr/share/php/Horde/Core/Tagger.php:337

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.

Content_Exception Object
(
     [details] =>
     [logged] => 1
     [_logLevel:protected] => 0
     [message:protected] => Specified objectId, but failed to specify 
typeId for getTagCloud call.
     [string:Exception:private] =>
     [code:protected] => 0
     [file:protected] => 
/srv/www/vhosts/example.com/html/intern/horde5/content/lib/Tagger.php
     [line:protected] => 319
     [trace:Exception:private] => Array
         (
             [0] => Array
                 (
                     [file] => /usr/share/php/Horde/Core/Tagger.php
                     [line] => 337
                     [function] => getTagCloud
                     [class] => Content_Tagger
                     [type] => ->
                 )

             [1] => Array
                 (
                     [file] => /usr/share/php/Horde/Core/TagBrowser.php
                     [line] => 223
                     [function] => getTagCountsByObjects
                     [class] => Horde_Core_Tagger
                     [type] => ->
                 )

             [2] => Array
                 (
                     [file] => /usr/share/php/Horde/Core/TagBrowser.php
                     [line] => 188
                     [function] => _getRelatedTagsWithResults
                     [class] => Horde_Core_TagBrowser
                     [type] => ->
                 )

             [3] => Array
                 (
                     [file] => 
/srv/www/vhosts/example.com/html/intern/horde5/nag/lib/View/List.php
                     [line] => 399
                     [function] => getRelatedTags
                     [class] => Horde_Core_TagBrowser
                     [type] => ->
                 )

             [4] => Array
                 (
                     [file] => 
/srv/www/vhosts/example.com/html/intern/horde5/nag/lib/View/List.php
                     [line] => 123
                     [function] => _getRelatedTags
                     [class] => Nag_View_List
                     [type] => ->
                 )

             [5] => Array
                 (
                     [file] => 
/srv/www/vhosts/example.com/html/intern/horde5/nag/list.php
                     [line] => 20
                     [function] => render
                     [class] => Nag_View_List
                     [type] => ->
                 )

             [6] => Array
                 (
                     [file] => 
/srv/www/vhosts/example.com/html/intern/horde5/nag/index.php
                     [line] => 20
                     [args] => Array
                         (
                             [0] => 
/srv/www/vhosts/example.com/html/intern/horde5/nag/list.php
                         )

                     [function] => require
                 )

         )

     [previous:Exception:private] =>
)

It's unclear which package updates exactly causes the error. The setup 
is up to date (2022-09-22). Administration -> Configuration shows 
these versions:

Horde Groupware Webmail Edition 5.2.22
Address Book (turba) 4.2.29
Bookmarks (trean) 1.1.10
Calendar (kronolith) 4.2.29
content 2.0.6
File Manager (gollem) 3.0.13
Filters (ingo) 3.2.16
Horde (horde) 5.2.23
Mail (imp) 6.2.27
Notes (mnemo) 4.2.14
Password (passwd) 5.0.7
Tasks (nag) 4.2.19
timeobjects 2.1.4
Wiki (wicked) 2.0.8

System
- Ubuntu 18.04
- PHP 7.4.30 (FPM)
- Apache 2.4.29
- MySQL 8.0.30

Saved Queries