Summary | In History view I can't remove the last page revision |
Queue | Wicked |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | Horde Developers (at) |
Requester | scalero (at) datadec (dot) es |
Created | 10/17/2007 (6518 days ago) |
Due | |
Updated | 01/06/2008 (6437 days ago) |
Assigned | 10/17/2007 (6518 days ago) |
Resolved | 01/06/2008 (6437 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
Priority ⇒ 2. Medium
Summary ⇒ In History view I can't remove the last page revision
Assigned to
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ In History view I cann't remove the last page revision
Due ⇒ 10/17/2007
Queue ⇒ Wicked
State ⇒ Unconfirmed
to the 'History' view a wiki page and I remove its last version, I
obtain this error in the log:
[Wed Oct 17 12:22:48 2007] [error] PHP Notice: Object to string
conversion in /php/4.4/pear/DB/oci8.php on line 565
[Wed Oct 17 12:22:48 2007] [error] PHP Warning: preg_match() expects
parameter 2 to be string, object given in /php/4.4/pear/DB.php on line
635
Oct 17 12:18:39 HORDE [error] [wicked] DB Error: mismatch: Object [DB
Error: mismatch] [on line 799 of
"/rootweb/horde/wicked/lib/Driver/sql.php"]
It works with this change and I think this still continue working with MySQL:
File: "wicked/lib/Driver/sql.php" Line: 792
-----------------------------------------------------------------------
- $query = $this->_db->modifyLimitQuery($query, 0, 1);
+ $query = $this->_db->modifyLimitQuery($query, 0, 1,
array($pagename));