I tried to update path_breadcrumbs on client site and got this error on update.php:
Update #7213
Failed: PDOException: SQLSTATE[HY000]: General error: 1364 Field 'machine_name' doesn't have a default value: INSERT INTO {path_breadcrumbs} (data, disabled) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1); Array ( [:db_insert_placeholder_0] => Array [:db_insert_placeholder_1] => 0 ) в функции drupal_write_record() (строка 7013 в файле /usr/home/ib/new.ib.ru/htdocs/includes/common.inc).Now I don't see any of my breadcrumbs on pages((
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | path_breadcrumbs_update-to-beta14-1664692-3.patch | 1.55 KB | kalabro |
Comments
Comment #1
spleshkaHm.. from which version did you updated? This error doesn't make sense to me. I have no idea how that could happen..
Comment #2
spleshkaAny information about this bug?
Comment #3
kalabroThe problem appears when updating from earlier versions (7.x-2.0-beta12 and earlier) to current stable. We have changed
path_breadcrumbs_loadandpath_breadcrumbs_savefunctions for working with new storage mechanism, so they are incompatible with data inpath_breadcrumbs_update_7213(). That was our omission while testing #1649074: Error while reverting from features :(I suggest to use low db functions to solve the problem in
path_breadcrumbs_update_7213().Another important note is that
path_breadcrumbs_loadis used only inpath_breadcrumbs_update_7213(). So, I think, it can be deprecated after fixing this bug.Comment #4
kalabroComment #5
spleshkaOh, thanks, I really missed this. Commited at 377f240