Loading...
 
Skip to main content

Auto TOC urls are different than MakeToc

Status
Closed
Subject
Auto TOC urls are different than MakeToc
Version
12.x
12.x Regression
Category
  • Conflict of two features (each works well independently)
  • Consistency
Feature
Auto TOC
Resolution status
Fixed or Solved
Submitted by
Marc Laporte
Volunteered to solve
Arild Berg
Lastmod by
jcarter
Rating
(0)
Description

AutoToc:

Copy to clipboard
http://dev.tiki.org/How+to+release#8.__Dogfood_release_policy


MakeToc

Copy to clipboard
http://dev.tiki.org/How+to+release#Dogfood_release_policy


The MakeTOC URL is much better because URL doesn't change when sections change numbers

Also, the double underscore causes an issue in links

Solution

--<jcarter>: I have the solution ready to commit. Solution is to only set ID if it does not have one already (in case WYSIWYG header generation bug shows up somewhere, it will not break auto TOC). Allows maketoc and autoTOC to use same ids, and consequently same URLS.

Will commit change on Thursday.
--
UPDATE: Committed fix to trunk.
Committed revision 48442
Committed revision 48445

UPDATE: Additional fixes/changes
Committed revision 48680


UPDATE: Closing, backported in 48711 by arild. thanks!

Importance
8
Easy to solve?
9
Priority
72
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4902
Created
Monday 11 November, 2013 18:51:30 UTC
by Marc Laporte
LastModif
Wednesday 27 November, 2013 17:51:12 UTC


Show PHP error messages