Ticket #3 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

XML Import: Incorrect source schema version

Reported by: anonymous Assigned to: fox
Priority: major Milestone: 1.1.1
Component: backend Version: 1.1
Keywords: Cc:

Description

I upgraded from 1.0.7 using the instructions provided in UPGRADING.

When I try to reimport my starred articles using xml-import.php, I get the error "Incorrect source schema version".

The xml file indicates <schema_version>1</schema_version>. Is there some way to get my starred articles back?

Change History

12/07/05 23:20:27 changed by fox

  • status changed from new to closed.
  • version set to 1.1.
  • resolution set to fixed.
  • milestone set to 1.1.1.

It's a bug in xml-import.php, simple patch:

{
hunk ./xml-import.php 166
-                               if ($schema_version != MAX_SOURCE_SCHEMA_VERSION) {
+                               if ($schema_version > MAX_SOURCE_SCHEMA_VERSION) {

Fixed in upstream.

12/07/05 23:23:41 changed by fox

By the way, another workaround would be to change schema_version to 2 in the xml file, it doesn't really matter much at the moment.

12/08/05 01:05:54 changed by anonymous

Thanks again. I just changed the schema version in my xml file.