Loading...
 
Skip to main content

Apply last approved wiki template version and not just last version when revision approval system is set on wiki pages

Status
Closed
Subject
Apply last approved wiki template version and not just last version when revision approval system is set on wiki pages
Version
12.x
14.x
15.x
Category
  • Consistency
  • Feature request
Feature
Content template
Revision Approval
Resolution status
New
Submitted by
Xavier de Pedro
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(1)
Description

Use case:

  • You have content templates enabled, and revision approal system set for wiki pages.
  • You create a new content template "MyTpl" based on a wiki page, under revision approval.
  • MyTpl Version 2 is approved. Version 3 is the last edited version of the content template, with no approval yet.
  • You create a new wiki page "MyPage", apply the template MyTpl, and you get applied v3 (non approvaed), instead of V2, which is the approved one and should be the one applied by default.


To reproduce, log in as admin:
u: admin
p: 12345
Wiki page:
http://xavidp-1553-5818.show.tikiwiki.org/tiki-index.php?page=MyPage
Template:
http://xavidp-1553-5818.show.tikiwiki.org/tiki-index.php?page=MyTpl
History of versions of the wiki page template:
http://xavidp-1553-5818.show.tikiwiki.org/tiki-pagehistory.php?page=MyTpl

See that last approved version is v2, but there is a v3 which has more content.

Edit the wiki page and try to apply the template:
http://xavidp-1553-5818.show.tikiwiki.org/tiki-editpage.php?page=MyPage

V3 is applied instead of v2 (the last approved version)

Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5818
Created
Monday 22 February, 2016 09:06:21 UTC
by Xavi (as xavidp - admin)
LastModif
Tuesday 25 September, 2018 14:56:42 UTC


Show PHP error messages