https://bugzilla.wikimedia.org/show_bug.cgi?id=65765

--- Comment #3 from Joerg <mueller062001-...@yahoo.de> ---
I am upgrading from 1.22.6 to 1.23.0-rc.2.

The database looks pretty normal to me: It has rows in the archive table from
the time before the text/revision tables and I get the error message for each
of these rows.

I checked the call Revision::newFromArchiveRow( $row ):

I checked var_dump($row) when the error happens; in my example for the first
row in the archive table.

I noticed that at this point $row->ar_text is _NOT_ set. I think this is the
root of the problem. After that, processing in Revision.php cannot recognize
the old row correctly:

    if ( isset( $row->ar_text ) && !$row->ar_text_id ) {
        //We don't get here as $row->ar_text incorrectly is NULL.
        echo "pre-1.5: " . $row->ar_text;die();
        // Pre-1.5 ar_text row; get revision text.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to