Repeatable: Always
Steps to repeat:
1. Go to the page with the sortable grid
2. Do NOT change the grid order
3. Save order

Expected Results:
The page refreshes with nothing changed

Actual Results:
This error:

PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'nid' at row 1: INSERT INTO {sgrid} (nid, rank, view_display) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => [:db_insert_placeholder_1] => 0 [:db_insert_placeholder_2] => products_entity_view_1 ) in sgrid_view_sgrid_form_submit() (line 73 of C:\xampp\htdocs\mysite.com\html\sites\all\modules\sgrid\sgrid.module).

Comments

Tilo Schumann’s picture

I had the same problem. My mistake was, that I did not understand "Choose the Sortable Grid row style".

Now I found it and it works.

HTH,
Zeg

Countzero’s picture

Assigned: Unassigned » Countzero
Status: Active » Closed (works as designed)

Bwroga : you probably didn't set the row style to Sortable Grid.

Please reopen if your problem persists.