Patch to staging & approval
- Status
- Closed
- Subject
- Patch to staging & approval
- Version
- 6.x
- Category
- Patch
- Feature
- Staging and Approval
- Resolution status
- Fixed or Solved
- Lastmod by
- Arild Berg
- Rating
- Description
Staging & Approval fails if incorrect $edit_minor parameter type is supplied to the function update_page. This is the case in Tiki 6.3
This causes the whole staging & approval mechanism to fail.
- Solution
Fix the type of the $edit_minor parameter supplied.
So, the result will be like...function update_page($pageName, $edit_data, $edit_comment, $edit_user, $edit_ip, $edit_description = , $edit_minor = 0, $lang=, $is_html=null, $hash=null, $saveLastModif=null, $wysiwyg=, $wiki_authors_style=) {
global $smarty, $prefs, $dbTiki, $histlib, $quantifylib;
include_once ("lib/wiki/histlib.php");
include_once ("lib/comments/commentslib.php");/**
AB: Fix missing minor_version during staging
**/$edit_minor = intval($edit_minor);
/** End fix **/
- Importance
- 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.
- Created
- Sunday 21 August, 2011 21:08:15 UTC
by Arild Berg - LastModif
- Sunday 04 September, 2011 21:18:24 UTC