[dev] New Wiki diff funcionality.

Chuck Hagenbuch chuck at horde.org
Mon May 10 07:45:05 PDT 2004


Quoting eculp at encontacto.net:

>>  - and the make
>> absolutely sure
>> that your SQL tables match what is currently in wicked.sql.
> I just droped yesterday morning's table and added wicked.sql,v
> 1.6 2004/05/10
>>  If after that you
>> can still reproduce any of this,
>
> This is scary but much to my surprise, it still does the same.

Actually, your problem was that you *had* tracked my db changes before, it
seems. Get rid of the primary key constraint on page_name in the 
wicked_history
table - I don't know what I was thinking when I added that. I just changed the
.sql script in CVS to fix it and to add some indexes instead.

> There is also the issue on the history page if you  the latest
> version with "diff from" and then click on the same as "Diff To"
> you get:
>
> Fatal error: Call to a member function on a non-object in
> /usr/local/www/data/horde/wicked/diff.php on line 21

Fixed now in CVS (and I also put in a JS check to not submit a diff 
between the
same versions).

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez


More information about the dev mailing list