6.0.0-alpha12
6/13/25

[#9374] Fatal: Duplicate Entry in Rampage Types
Summary Fatal: Duplicate Entry in Rampage Types
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Duplicate
Priority 2. Medium
Owners
Requester d-fens (at) 00010111 (dot) de
Created 11/08/2010 (5331 days ago)
Due
Updated 11/16/2010 (5323 days ago)
Assigned
Resolved 11/16/2010 (5323 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/16/2010 06:46:47 AM Michael Rubinsky Comment #2
State ⇒ Duplicate
Reply to this comment
Not seeing this.

Either way, duplicate of either Ticket: 9378 and/or Ticket: 9223
11/08/2010 10:28:19 AM d-fens (at) 00010111 (dot) de Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Fatal: Duplicate Entry in Rampage Types
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
Reply to this comment
hi,

after a syncml sync i get this when trying to access kronolith


A fatal error has occurred
QUERY FAILED: Duplicate entry 'calendar' for key 2 INSERT INTO 
`rampage_types` (type_name) VALUES ('calendar')

1. include() /var/www/_horde/horde/kronolith/index.php:17
2. require() /var/www/_horde/horde/kronolith/month.php:33
3. Kronolith::getTagger() 
/var/www/_horde/horde/kronolith/templates/panel.inc:41
4. Kronolith_Tagger->__construct() 
/var/www/_horde/horde/kronolith/lib/Kronolith.php:2960
5. Content_Types_Manager->ensureTypes() 
/var/www/_horde/horde/kronolith/lib/Tagger.php:35

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
(
     [_previous:private] =>
     [message:protected] => QUERY FAILED: Duplicate entry 'calendar' for key 2

INSERT INTO `rampage_types` (type_name) VALUES ('calendar')
     [string:private] =>
     [code:protected] => 1062
     [file:protected] => /var/www/_horde/horde/content/lib/Types/Manager.php
     [line:protected] => 82
     [trace:private] => Array
         (
             [0] => Array
                 (
                     [file] => /var/www/_horde/horde/kronolith/lib/Tagger.php
                     [line] => 35
                     [function] => ensureTypes
                     [class] => Content_Types_Manager
                     [type] => ->
                     [args] => Array
                         (
                             [0] => Array
                                 (
                                     [0] => calendar
                                     [1] => event
                                 )

                         )

                 )

             [1] => Array
                 (
                     [file] => 
/var/www/_horde/horde/kronolith/lib/Kronolith.php
                     [line] => 2960
                     [function] => __construct
                     [class] => Kronolith_Tagger
                     [type] => ->
                     [args] => Array
                         (
                         )

                 )

             [2] => Array
                 (
                     [file] => 
/var/www/_horde/horde/kronolith/templates/panel.inc
                     [line] => 41
                     [function] => getTagger
                     [class] => Kronolith
                     [type] => ::
                     [args] => Array
                         (
                         )

                 )

             [3] => Array
                 (
                     [file] => /var/www/_horde/horde/kronolith/month.php
                     [line] => 33
                     [args] => Array
                         (
                             [0] => 
/var/www/_horde/horde/kronolith/templates/panel.inc
                         )

                     [function] => require
                 )

             [4] => Array
                 (
                     [file] => /var/www/_horde/horde/kronolith/index.php
                     [line] => 17
                     [args] => Array
                         (
                             [0] => /var/www/_horde/horde/kronolith/month.php
                         )

                     [function] => include
                 )

         )

)

Saved Queries