title: Corrupt Drupal menu
body: <p>Running Drupal 7.26 with nothing fancy and have started to encounter a corruption issue with the menu system. We started seeing the following error (truncated to fit). Doing a drush or a manual clear cache doesn't fix it, setting menu_router.weight to NULL yes, truncating both the menu_links and menu_router tables still produces the error. Links oddly menu still appear on the site, but only some not all.</p>
  
  <p>I suspect that the issue might be caused by a page view (using views3) with a set path, but I can't see why that would be as it is again just a normal path.</p>
  
  <pre><code>PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 
  'weight' at row 9: INSERT INTO {menu_router} (path, load_functions, to_arg_functions, 
  access_callback, access_arguments, page_callback, page_arguments, delivery_callback, fit, 
  number_parts, context, tab_parent, tab_root, title, title_callback, title_arguments, 
  theme_callback, theme_arguments, type, description, position, weight, include_file) VALUES 
  .... (truncated) ....
  (:db_insert_placeholder_184, :db_insert_placeholder_185, :db_insert_placeholder_186,     
  :db_insert_placeholder_187, :db_insert_placeholder_188, :db_insert_placeholder_189, 
  :db_insert_placeholder_190, :db_insert_placeholder_191, :db_insert_placeholder_192, 
  :db_insert_placeholder_193, :db_insert_placeholder_194, :db_insert_placeholder_195, 
  :db_insert_placeholder_196, :db_insert_placeholder_197,); Array ( 
  .... (truncated) ....
  [:db_insert_placeholder_180] =&gt; Ajax callback for view loading. 
  [:db_insert_placeholder_181] =&gt; [:db_insert_placeholder_182] =&gt; 0 
  [:db_insert_placeholder_183] =&gt; sites/all/modules/contrib/views/includes/ajax.inc 
  [:db_insert_placeholder_184] =&gt; volunteering/opportunities [:db_insert_placeholder_185] =&gt; 
  [:db_insert_placeholder_186] =&gt; [:db_insert_placeholder_187] =&gt; ctools_access_menu 
  [:db_insert_placeholder_188] =&gt; a:1:{i:0;a:2:{s:4:"type";s:4:"none";s:8:"settings";N;}} 
  [:db_insert_placeholder_189] =&gt; page_manager_page_execute [:db_insert_placeholder_190] =&gt; 
  a:1:{i:0;s:13:"volunteering_";} [:db_insert_placeholder_191] =&gt; 
  [:db_insert_placeholder_192] =&gt; 3 [:db_insert_placeholder_193] =&gt; 2 
  [:db_insert_placeholder_194] =&gt; 0 [:db_insert_placeholder_195] =&gt; 
  [:db_insert_placeholder_196] =&gt; volunteering/opportunities [:db_insert_placeholder_197] =&gt; 
  Volunteering opportunities [:db_insert_placeholder_198] =&gt; t [:db_insert_placeholder_199] 
  =&gt; [:db_insert_placeholder_200] =&gt; [:db_insert_placeholder_201] =&gt; a:0:{} ) in 
  _menu_router_save() (line 3837 of /var/mysite/dev/includes/menu.inc).
  </code></pre>