After last update I get this database mismatch report.

What did I do wrong with the update?

thanks

mismatch

Comments

mike.davis’s picture

Hi,

This looks like you have upgraded from the Drupal 6 version as this is referencing columns from the D6 version.

Were you on the D7 beta1 version previously or did you upgrade from D6 version to this D7 beta2 version?

Thanks
Mike

manoloka’s picture

StatusFileSize
new12.92 KB

Mmmmm ... I used to be on D6 a while ago, but last upgrade I was on D7 however I may have had it disabled since I upgraded to D7

So, I've just uninstall it completely and delete all the files, clear caches, run cron ... install it again, enable it and run update and now I got this database mismatch report.

mismatch report 2

mike.davis’s picture

Status: Active » Needs review
StatusFileSize
new632 bytes

OK, we may need to provide an upgrade path for the page registrations from D6 to D7.

However, having looking at the error message I think it is the fact that the 'path' column has been slightly incorrectly specified in the schema definition. This field is of data type 'text' so doesn't need a length defining.

This isn't going to cause any issues with your database as the database should have still created the text field correctly.

Here is a patch though that corrects this by removing the defining of the length field. Thanks for finding this :)

If this works OK, I can get this committed in ready for the next release.

manoloka’s picture

Yeap, that patch sorts the issue.

Thanks

mike.davis’s picture

Status: Needs review » Reviewed & tested by the community

Great thanks. I'll mark this as RTBC and will get this committed so that the next release will have it in.

Thanks.

  • mike.davis committed 672eaa8 on 7.x-1.x
    Issue #2314637 by mike.davis: database mismatch
    
mike.davis’s picture

Status: Reviewed & tested by the community » Fixed

This has been committed now.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.