Integrity constraint violation: 1062 Duplicate entry '0'
Integrity constraint violation: 1062 Duplicate entry '0'

This happens when I am trying to edit entries using the editor with the 'id' field is shown. When the 'id' field is hidden, I can edit the entry normally without problem.
Upon submitting, somehow the 'id' is changed to 0.
Any solution to this ? or perhaps I did something wrong ?
This discussion has been closed.
Answers
Nevermind Apparently it's because I use a formatter on the ID