Problem with duplicate menus when running tiki_1.8to1.9.sql multiple times.
- Status
- Closed
- Subject
- Problem with duplicate menus when running tiki_1.8to1.9.sql multiple times.
- Version
- 1.9.x
- Category
- Error
- Feature
- Menu
Installer (profiles, upgrades and server-related issues)
Admin Interface (UI)
Infrastructure - Resolution status
- Fixed or Solved
- Submitted by
- Marc Laporte
- Volunteered to solve
- Louis-Philippe Huberdeau
- Lastmod by
- Marc Laporte
- Rating
- Description
This code in db/tiki_1.8to1.9.sql used in upgrade script, is causing duplicate menu items.
Copy to clipboardINSERT IGNORE INTO tiki_menu_options (menuId,type,name,url,position,section,perm,groupname) VALUES (42,'o','Mobile','tiki-mobile.php',37,'feature_mobile','','');
Copy to clipboardINSERT INTO tiki_menu_options (menuId,type,name,url,position,section,perm,groupname) VALUES (42,'o','Users map','tiki-gmap_usermap.php',36,'feature_gmap','','');
Duplicates also happen for 187, and 188, 900, 1191, 1235, and in a minor way, 189, 780,See screenshot attached.
- Solution
This is handled differently in 3.0 and the problem will no longer happen:
DatabaseSchemaUpgrade
For old duplicates, you need to delete them manually.- Importance
- 6
- Priority
- 30
- 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
- 1290
- Created
- Saturday 11 August, 2007 20:55:12 UTC
by Unknown - LastModif
- Monday 20 April, 2009 17:46:05 UTC