Home » Structures » Tree » Bug #6249
Documentation Error
Details
| Submitted | 2005-12-15 12:58 UTC |
|---|---|
| From | joachim dot werner at diggin-data dot de |
| Assigned | dufuz |
| Status | Closed |
| Package | Tree |
| PHP Version | 4.4.1 |
| OS | Windows 2000 |
| Roadmaps | (Not assigned) |
Comments
[2005-12-15 12:58 UTC] joachim dot werner at diggin-data dot de
Description:
------------
When loading the provided Dynamic_DBnested.sql into a database, the example Dynamic_DBnested.php fails on the 'add' and 'remove' method, as the sequence for the id column in table 'nestedTree' should be 10 instead of 3?!
Best regards,
Joachim Werner
Patch:
--- Dynamic_DBnested.sql Thu Dec 15 13:53:50 2005
+++ Dynamic_DBnested.org.sql Thu Dec 15 13:33:21 2005
@@ -52,6 +52,5 @@
# Dumping data for table `nestedTree_seq`
#
-# Sequence should be one more than highest id value in table nested Tree?!
-INSERT INTO nestedTree_seq VALUES (10);
+INSERT INTO nestedTree_seq VALUES (3);
Test script:
---------------
n/a
Expected result:
----------------
n/a
Actual result:
--------------
n/a