Error moving tracker items from category X to Y
- Status
- Closed
- Subject
- Error moving tracker items from category X to Y
- Version
- 8.x
- Category
- Error
- Dogfood on a *.tiki.org site
- Feature
- Category
- Resolution status
- Fixed or Solved
- Submitted by
- Marc Laporte
- Lastmod by
- Ushindi Gedeon
- Rating
- Description
On dev.tiki.org, I want to merge all items from category "jscalendar" to "calendar".
Duplicate entry '1983-29' for key 'PRIMARY'
The query was:update `tiki_category_objects` set `categId`=? where `categId`=?
Values:29
128
The built query was likely:update `tiki_category_objects` set `categId`='29' where `categId`='128'
Stacktrace:- /var/local/dev.tiki.org/www/tiki-admin_categories.php : 0 -> {main}(array ( ))
- /var/local/dev.tiki.org/www/tiki-admin_categories.php : 41 -> move_all_objects(array ( ))
- /var/local/dev.tiki.org/www/lib/categories/categlib.php : 1474 -> query(array ( ))
- /var/local/dev.tiki.org/www/lib/core/TikiDb/Bridge.php : 27 -> query(array ( ))
- /var/local/dev.tiki.org/www/lib/core/TikiDb/Pdo.php : 118 -> handleQueryError(array ( ))
- /var/local/dev.tiki.org/www/lib/core/TikiDb.php : 148 -> handle(array ( ))
And the organizer is not working either...
http://dev.tiki.org/tiki-edit_categories.php?filter~categories=128
- Solution
- Workaround
- Easy to solve?
- 5
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 4101
- Created
- Thursday 12 January, 2012 05:52:05 UTC
by Marc Laporte - LastModif
- Friday 03 July, 2026 13:35:43 UTC