Closed (fixed)
Project:
Path Breadcrumbs
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2012 at 13:54 UTC
Updated:
14 Jun 2012 at 16:20 UTC
Error while saving weights for paths on page `admin/structure/path-breadcrumbs`:
PDOException: SQLSTATE[22P02]: Invalid text representation: 7 ОШИБКА: ошибка синтаксиса в значении типа integer: "form_build_id" LINE 2: WHERE (path_id = 'form_build_id') ^: UPDATE path_breadcrumbs SET weight=:db_update_placeholder_0 WHERE (path_id = :db_condition_placeholder_0) ; Array ( [target] => default [return] => 2 [already_prepared] => 1 ) in path_breadcrumbs_ui_breadcrumbs_list_submit() (line 102 of /.../sites/all/modules/path_breadcrumbs/path_breadcrumbs_ui/path_breadcrumbs_ui.admin.inc).
Idea of patch to omit updating for every key in $form_state['values'] by adding parent “paths” to real path keys.
| Comment | File | Size | Author |
|---|---|---|---|
| path_breadcrumbs_postgresql_weights_save.patch | 1.57 KB | kalabro |
Comments
Comment #1
spleshkaThanks, commited at 11e8e8c.
Comment #1.0
spleshkatypo